阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Markdown 代码高亮关键字

      Markdown 代码的语言高亮关键字

      语言名关键字
      1C1c
      ActionScriptactionscript
      Apacheapache
      AppleScriptapplescript
      AsciiDocasciidoc
      AspectJasciidoc
      AutoHotkeyautohotkey
      AVRAssembler avrasm
      Axaptaaxapta
      Bashbash
      BrainFuckbrainfuck
      Cap’n Protocapnproto
      Clojure REPLclojure
      Clojureclojure
      CMakecmake
      CoffeeScriptcoffeescript
      C++cpp
      C#cs
      CSScss
      Dd
      Dartd
      Delphidelphi
      Diffdiff
      Djangodjango
      DOS .batdos
      Dustdust
      Elixirelixir
      ERB (Embedded Ruby)erb
      Erlang REPLerlang-repl
      Erlangerlang
      FIXfix
      F#fsharp
      G-code (ISO 6983)gcode
      Gherkingherkin
      GLSLglsl
      Gogo
      Gradlegradle
      Groovygroovy
      Hamlhaml
      Handlebarshandlebars
      Haskellhaskell
      Haxehaxe
      HTTPhttp
      Ini fileini
      Javajava
      JavaScriptjavascript
      JSONjson
      Lassolasso
      Lessless
      Lisplisp
      LiveCodelivecodeserver
      LiveScriptlivescript
      Lualua
      Makefilemakefile
      Markdownmarkdown
      Mathematicamathematica
      Matlabmatlab
      MEL (Maya Embedded Language)mel
      Mercurymercury
      Mizarmizar
      Monkeymonkey
      nginxnginx
      Nimrodnimrod
      Nixnix
      NSISnsis
      Objective Cobjectivec
      OCamlocaml
      Oxygeneoxygene
      Parser 3parser3
      Perlperl
      PHPphp
      PowerShellpowershell
      Processingprocessing
      Python’s profiler outputprofile
      Protocol Buffersprotobuf
      Puppetpuppet
      Pythonpython
      Qq
      Rr
      RenderMan RIBrib
      Roboconfroboconf
      RenderMan RSLrsl
      Rubyruby
      Oracle Rules Languageruleslanguage
      Rustrust
      Scalascala
      Schemescheme
      Scilabscilab
      SCSSscss
      Smalismali
      SmallTalksmalltalk
      SMLsml
      SQLsql
      Statastata
      STEP Part 21 (ISO 10303-21)step21
      Stylusstylus
      Swiftswift
      Tcltcl
      TeXtex
      Thriftthrift
      Twigtwig
      TypeScripttypescript
      Valavala
      VB.NETvbnet
      VBScript in HTMLvbscript-html
      VBScriptvbscript
      Verilogverilog
      VHDLvhdl
      Vim Scriptvim
      Intel x86 Assemblyx86asm
      XLxl
      XML, HTMLxml

      代码语法高亮 书写格式为:

      ` `` language_key 
      if (true){ 
          return true;
      } 
      ` ``
      

      ``` (三个连续的反引号)之间的是代码,其中language_key,就是语法高亮关键字;

      language_keyjavascript替换,效果如下:

      if (true){ 
          return "hello axihe.com";
      } 
      

      如果您想了解更多的Markdown语法,可以点击 Markdown语法手册 进行查看

      目录
      目录