zoukankan      html  css  js  c++  java
  • Typora[ markdown ] 使用3之----- 语法高亮显示

    Typora[ markdown ] 使用3之----- 语法高亮显示

    demo

    ```php
     echo "hello PHP"
    ```
    
    ```javascript
    console.log("hello JavaScript")
    ```

    语法高亮

    Here's a full list of supported languages:

    • Cucumber ('*.feature')
    • abap ('*.abap')
    • ada ('*.adb', '*.ads', '*.ada')
    • ahk ('*.ahk', '*.ahkl')
    • apacheconf ('.htaccess', 'apache.conf', 'apache2.conf')
    • applescript ('*.applescript')
    • as ('*.as')
    • as3 ('*.as')
    • asy ('*.asy')
    • bash ('*.sh', '*.ksh', '*.bash', '*.ebuild', '*.eclass')
    • bat ('*.bat', '*.cmd')
    • befunge ('*.befunge')
    • blitzmax ('*.bmx')
    • boo ('*.boo')
    • brainfuck ('*.bf', '*.b')
    • c ('*.c', '*.h')
    • cfm ('*.cfm', '*.cfml', '*.cfc')
    • cheetah ('*.tmpl', '*.spt')
    • cl ('*.cl', '*.lisp', '*.el')
    • clojure ('*.clj', '*.cljs')
    • cmake ('*.cmake', 'CMakeLists.txt')
    • coffeescript ('*.coffee')
    • console ('*.sh-session')
    • control ('control')
    • cpp ('*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', '*.pde')
    • csharp ('*.cs')
    • css ('*.css')
    • cython ('*.pyx', '*.pxd', '*.pxi')
    • d ('*.d', '*.di')
    • delphi ('*.pas')
    • diff ('*.diff', '*.patch')
    • dpatch ('*.dpatch', '*.darcspatch')
    • duel ('*.duel', '*.jbst')
    • dylan ('*.dylan', '*.dyl')
    • erb ('*.erb')
    • erl ('*.erl-sh')
    • erlang ('*.erl', '*.hrl')
    • evoque ('*.evoque')
    • factor ('*.factor')
    • felix ('*.flx', '*.flxh')
    • fortran ('*.f', '*.f90')
    • gas ('*.s', '*.S')
    • genshi ('*.kid')
    • glsl ('*.vert', '*.frag', '*.geo')
    • gnuplot ('*.plot', '*.plt')
    • go ('*.go')
    • groff ('*.(1234567)', '*.man')
    • haml ('*.haml')
    • haskell ('*.hs')
    • html ('*.html', '*.htm', '*.xhtml', '*.xslt')
    • hx ('*.hx')
    • hybris ('*.hy', '*.hyb')
    • ini ('*.ini', '*.cfg')
    • io ('*.io')
    • ioke ('*.ik')
    • irc ('*.weechatlog')
    • jade ('*.jade')
    • java ('*.java')
    • js ('*.js')
    • jsp ('*.jsp')
    • lhs ('*.lhs')
    • llvm ('*.ll')
    • logtalk ('*.lgt')
    • lua ('*.lua', '*.wlua')
    • make ('*.mak', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile')
    • mako ('*.mao')
    • maql ('*.maql')
    • mason ('*.mhtml', '*.mc', '*.mi', 'autohandler', 'dhandler')
    • markdown ('*.md')
    • modelica ('*.mo')
    • modula2 ('*.def', '*.mod')
    • moocode ('*.moo')
    • mupad ('*.mu')
    • mxml ('*.mxml')
    • myghty ('*.myt', 'autodelegate')
    • nasm ('*.asm', '*.ASM')
    • newspeak ('*.ns2')
    • objdump ('*.objdump')
    • objectivec ('*.m')
    • objectivej ('*.j')
    • ocaml ('*.ml', '*.mli', '*.mll', '*.mly')
    • ooc ('*.ooc')
    • perl ('*.pl', '*.pm')
    • php ('*.php', '*.php(345)')
    • postscript ('*.ps', '*.eps')
    • pot ('*.pot', '*.po')
    • pov ('*.pov', '*.inc')
    • prolog ('*.prolog', '*.pro', '*.pl')
    • properties ('*.properties')
    • protobuf ('*.proto')
    • py3tb ('*.py3tb')
    • pytb ('*.pytb')
    • python ('*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac')
    • rb ('*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec', '*.rbx', '*.duby')
    • rconsole ('*.Rout')
    • rebol ('*.r', '*.r3')
    • redcode ('*.cw')
    • rhtml ('*.rhtml')
    • rst ('*.rst', '*.rest')
    • sass ('*.sass')
    • scala ('*.scala')
    • scaml ('*.scaml')
    • scheme ('*.scm')
    • scss ('*.scss')
    • smalltalk ('*.st')
    • smarty ('*.tpl')
    • sourceslist ('sources.list')
    • splus ('*.S', '*.R')
    • sql ('*.sql')
    • sqlite3 ('*.sqlite3-console')
    • squidconf ('squid.conf')
    • ssp ('*.ssp')
    • tcl ('*.tcl')
    • tcsh ('*.tcsh', '*.csh')
    • tex ('*.tex', '*.aux', '*.toc')
    • text ('*.txt')
    • v ('*.v', '*.sv')
    • vala ('*.vala', '*.vapi')
    • vbnet ('*.vb', '*.bas')
    • velocity ('*.vm', '*.fhtml')
    • vim ('*.vim', '.vimrc')
    • xml ('*.xml', '*.xsl', '*.rss', '*.xslt', '*.xsd', '*.wsdl')
    • xquery ('*.xqy', '*.xquery')
    • xslt ('*.xsl', '*.xslt')
    • yaml ('*.yaml', '*.yml')
  • 相关阅读:
    matlab在图像中画长方形(框)
    将matlab的figure保存为pdf,避免图片太大缺失
    机器学习经典书籍
    2008年北大核心有效期 计算机类核心(2011-01-31 15:02:46)
    解决Matlab画图直接保存.eps格式而导致图不全的问题
    matlab从文件夹名中获得该文件夹下所图像文件名
    获取图片中感兴趣区域的信息(Matlab实现)
    Eclipse 浏览(Navigate)菜单
    Eclipse 查找
    Eclipse 悬浮提示
  • 原文地址:https://www.cnblogs.com/dafei4/p/14128205.html
Copyright © 2011-2022 走看看