使用说明

本博客系统专用或者和本站引用同一个网站的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

img

agate

img

github

img

idea

img

ascetic

img

brown-paper

img

codepen-embed

img

color-brewer

img

dark

img

docco

img

far

img

foundation

img

gml

img

googlecode

img

gradient-dark

img

gradient-light

img

grayscale

img

hybrid

img

ir-black

img

isbl-editor-dark

img

isbl-editor-light

img

lioshi

img

magula

img

mono-blue

img

monokai

img

monokai-sublime

img

night-owl

img

nnfx-dark

img

nnfx-light

img

pojoaque

img

purebasic

img

rainbow

img

routeros

img

school-book

img

shades-of-purple

img

srcery

img

stackoverflow-dark

img

stackoverflow-light

img

sunburst

img

tomorrow-night-blue

img

tomorrow-night-bright

img

vs

img

xcode

img

an-old-hope

img

atelier-forest-light

img

atom-one-dark-reasonable

img

atom-one-dark

img

atom-one-light

img

color-brewer

img

darcula

img

docco

img

dracula

img

github-gist

img

gml

img

PS.

更多样式去官网查看:highlight.js demo