Markdown代码高亮支持的语言

名称关键字
AppleScriptapplescript
ActionScript 3.0actionscript3, as3
Shellbash, shell
ColdFusioncoldfusion, cf
Ccpp, c
C#c#, c-sharp, csharp
CSScss
Delphidelphi, pascal, pas
diff&patchdiff patch
Erlangerl, erlang
Groovygroovy
Javajava
JavaFXjfx, javafx
JavaScriptjs, jscript, javascript
Perlperl, pl, Perl
PHPphp
texttext, plain
Pythonpy, python
Rubyruby, rails, ror, rb
SASS&SCSSsass, scss
Scalascala
SQLsql
Visual Basicvb, vbnet
XMLxml, xhtml, xslt, html
Objective Cobjc, obj-c
F#f#, f-sharp, fsharp
Rr, s, splus
matlabmatlab
swiftswift
GOgo, golang
  • 值得注意的是:
  • VS Code中Instant Markdown不支持直接用“`C#,而要用csharp才能高亮C#代码。
    原文作者:码农吉小星
    原文地址: https://www.jianshu.com/p/f02d5a3736ba
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞