Markdown
markdown 代码块支持的语言
00 分钟
发布于: 2020-3-20
最后更新: 2024-8-18
type
status
date
slug
summary
category
tags
password
Created time
Jul 30, 2024 06:34 PM
Last edited time
Aug 18, 2024 04:24 PM
UUID
icon
🗒️发表的笔记
URL CK
ErrorCheck
ErrorCheck
Description

常用代码块语言类型关键字对照

为了让代码更好的高亮显示,给代码块添加语言识别关键字。
名称
关键字
调用的JS
说明
AppleScript
applescript
shBrushAppleScript.js
-
ActionScript 3.0
actionscript3 , as3
shBrushAS3.js
-
Shell
bash , shell
shBrushBash.js
-
ColdFusion
coldfusion , cf
shBrushColdFusion.js
-
C
cpp , c
shBrushCpp.js
-
C#
c# , c-sharp , csharp
shBrushCSharp.js
-
CSS
css
shBrushCss.js
-
Delphi
delphi , pascal , pas
shBrushDelphi.js
-
diff&patch
diff patch
shBrushDiff.js
用代码版本库时,遇到代码冲突,其语法就是这个.
Erlang
erl , erlang
shBrushErlang.js
-
Groovy
groovy
shBrushGroovy.js
-
Java
java
shBrushJava.js
-
JavaFX
jfx , javafx
shBrushJavaFX.js
-
JavaScript
js , jscript , javascript
shBrushJScript.js
-
JSON
json
-
-
Perl
perl , pl , Perl
shBrushPerl.js
-
PHP
php
shBrushPhp.js
-
text
text , plain
shBrushPlain.js
就是普通文本.
Python
py , python
shBrushPython.js
-
Ruby
ruby , rails , ror , rb
shBrushRuby.js
-
SASS&SCSS
sass , scss
shBrushSass.js
-
Scala
scala
shBrushScala.js
-
SQL
sql
shBrushSql.js
-
Visual Basic
vb , vbnet
shBrushVb.js
-
XML
xml , xhtml , xslt , html
shBrushXml.js
-
Objective C
objc , obj-c
shBrushObjectiveC.js
-
F#
f# f-sharp , fsharp
shBrushFSharp.js
-
  • | xpp , dynamics-xpp | shBrushDynamics.js | - R | r , s , splus | shBrushR.js | - matlab | matlab | shBrushMatlab.js | - swift | swift | shBrushSwift.js | - GO | go , golang | shBrushGo.js | -
上一篇
Git快速使用
下一篇
HTML 入手

评论
Loading...