highlight.js代码样式名称
使用说明
本博客系统专用或者和本站引用同一个网站的cdn加速
1 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/androidstudio.min.css"> |
常用语言类型
HTML, XML,Bash,CSS,Java,JavaScript,JSON,SQL
代码样式名称
更换代码样式直接修改link标签的css文件名,例如:将androidstudio
改为github
就行了
androidstudio
agate
github
idea
ascetic
brown-paper
codepen-embed
color-brewer
dark
docco
far
foundation
gml
googlecode
gradient-dark
gradient-light
grayscale
hybrid
ir-black
isbl-editor-dark
isbl-editor-light
lioshi
magula
mono-blue
monokai
monokai-sublime
night-owl
nnfx-dark
nnfx-light
pojoaque
purebasic
rainbow
routeros
school-book
shades-of-purple
srcery
stackoverflow-dark
stackoverflow-light
sunburst
tomorrow-night-blue
tomorrow-night-bright
vs
xcode
an-old-hope
atelier-forest-light
atom-one-dark-reasonable
atom-one-dark
atom-one-light
color-brewer
darcula
docco
dracula
github-gist
gml
PS.
更多样式去官网查看:highlight.js demo
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 LeDao's Blog!
评论