主题和样式列表
Former-commit-id: f2b3aa42e49cefddec951da28fdd62a8abd57252 [formerly f2b3aa42e49cefddec951da28fdd62a8abd57252 [formerly f2b3aa42e49cefddec951da28fdd62a8abd57252 [formerly f2b3aa42e49cefddec951da28fdd62a8abd57252 [formerly e519d37e03f413d3448f570e5623d741c9c2b799 [formerly e027ce9365ce5d75551207ff00b1e1db4b143776]]]]] Former-commit-id: af100daf4caaa6ff017a20a4bec64121f664bc4f Former-commit-id: 2aebe4129d512df20ace3734d4bd5a63e6bdeb60 Former-commit-id: 4959c61e4827a4a320e25fa346b2e4ee93328c83 [formerly d43e81979c04e44fcc9188ff66da14f8f6b3452a] Former-commit-id: 2769921855ed4794b496d5ed7ed65d29e40fb7a1 Former-commit-id: adbab21bd7025d95030bde43080c908a00c59481 Former-commit-id: 49029376b753c9222279fb958e59987111d25db0 Former-commit-id: 7995f51d5064ece339df7dbfba49074873e55b27 Former-commit-id: e1cd64740caa9bf662974b5e09a6a55ec1c83c96
This commit is contained in:
@@ -24,181 +24,277 @@ format 建议只在内容为 HTML 的时候打开,如果内容不是 HTML,
|
|||||||
本框架只是提供代码高亮的简单实现,如需实现更高级的设置请修改组件代码
|
本框架只是提供代码高亮的简单实现,如需实现更高级的设置请修改组件代码
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## 支持的语言
|
## 语言
|
||||||
|
|
||||||
* `1c`
|
如果不指定语言,默认会依次尝试以下语言:
|
||||||
* `abnf`
|
|
||||||
* `accesslog`
|
1. html
|
||||||
* `actionscript`
|
2. javascript
|
||||||
* `ada`
|
3. json
|
||||||
* `apache`
|
4. css
|
||||||
* `applescript`
|
5. scss
|
||||||
* `cpp`
|
6. less
|
||||||
* `arduino`
|
|
||||||
* `armasm`
|
如果指定语言,将会首先尝试根据指定的语言解析。全部支持的语言:
|
||||||
* `xml`
|
|
||||||
* `asciidoc`
|
* 1c
|
||||||
* `aspectj`
|
* abnf
|
||||||
* `autohotkey`
|
* accesslog
|
||||||
* `autoit`
|
* actionscript
|
||||||
* `avrasm`
|
* ada
|
||||||
* `awk`
|
* apache
|
||||||
* `axapta`
|
* applescript
|
||||||
* `bash`
|
* cpp
|
||||||
* `basic`
|
* arduino
|
||||||
* `bnf`
|
* armasm
|
||||||
* `brainfuck`
|
* xml
|
||||||
* `cal`
|
* asciidoc
|
||||||
* `capnproto`
|
* aspectj
|
||||||
* `ceylon`
|
* autohotkey
|
||||||
* `clean`
|
* autoit
|
||||||
* `clojure`
|
* avrasm
|
||||||
* `clojure-repl`
|
* awk
|
||||||
* `cmake`
|
* axapta
|
||||||
* `coffeescript`
|
* bash
|
||||||
* `coq`
|
* basic
|
||||||
* `cos`
|
* bnf
|
||||||
* `crmsh`
|
* brainfuck
|
||||||
* `crystal`
|
* cal
|
||||||
* `cs`
|
* capnproto
|
||||||
* `csp`
|
* ceylon
|
||||||
* `css`
|
* clean
|
||||||
* `d`
|
* clojure
|
||||||
* `markdown`
|
* clojure-repl
|
||||||
* `dart`
|
* cmake
|
||||||
* `delphi`
|
* coffeescript
|
||||||
* `diff`
|
* coq
|
||||||
* `django`
|
* cos
|
||||||
* `dns`
|
* crmsh
|
||||||
* `dockerfile`
|
* crystal
|
||||||
* `dos`
|
* cs
|
||||||
* `dsconfig`
|
* csp
|
||||||
* `dts`
|
* css
|
||||||
* `dust`
|
* d
|
||||||
* `ebnf`
|
* markdown
|
||||||
* `elixir`
|
* dart
|
||||||
* `elm`
|
* delphi
|
||||||
* `ruby`
|
* diff
|
||||||
* `erb`
|
* django
|
||||||
* `erlang-repl`
|
* dns
|
||||||
* `erlang`
|
* dockerfile
|
||||||
* `excel`
|
* dos
|
||||||
* `fix`
|
* dsconfig
|
||||||
* `flix`
|
* dts
|
||||||
* `fortran`
|
* dust
|
||||||
* `fsharp`
|
* ebnf
|
||||||
* `gams`
|
* elixir
|
||||||
* `gauss`
|
* elm
|
||||||
* `gcode`
|
* ruby
|
||||||
* `gherkin`
|
* erb
|
||||||
* `glsl`
|
* erlang-repl
|
||||||
* `go`
|
* erlang
|
||||||
* `golo`
|
* excel
|
||||||
* `gradle`
|
* fix
|
||||||
* `groovy`
|
* flix
|
||||||
* `haml`
|
* fortran
|
||||||
* `handlebars`
|
* fsharp
|
||||||
* `haskell`
|
* gams
|
||||||
* `haxe`
|
* gauss
|
||||||
* `hsp`
|
* gcode
|
||||||
* `htmlbars`
|
* gherkin
|
||||||
* `http`
|
* glsl
|
||||||
* `hy`
|
* go
|
||||||
* `inform7`
|
* golo
|
||||||
* `ini`
|
* gradle
|
||||||
* `irpf90`
|
* groovy
|
||||||
* `java`
|
* haml
|
||||||
* `javascript`
|
* handlebars
|
||||||
* `jboss-cli`
|
* haskell
|
||||||
* `json`
|
* haxe
|
||||||
* `julia`
|
* hsp
|
||||||
* `julia-repl`
|
* htmlbars
|
||||||
* `kotlin`
|
* http
|
||||||
* `lasso`
|
* hy
|
||||||
* `ldif`
|
* inform7
|
||||||
* `leaf`
|
* ini
|
||||||
* `less`
|
* irpf90
|
||||||
* `lisp`
|
* java
|
||||||
* `livecodeserver`
|
* javascript
|
||||||
* `livescript`
|
* jboss-cli
|
||||||
* `llvm`
|
* json
|
||||||
* `lsl`
|
* julia
|
||||||
* `lua`
|
* julia-repl
|
||||||
* `makefile`
|
* kotlin
|
||||||
* `mathematica`
|
* lasso
|
||||||
* `matlab`
|
* ldif
|
||||||
* `maxima`
|
* leaf
|
||||||
* `mel`
|
* less
|
||||||
* `mercury`
|
* lisp
|
||||||
* `mipsasm`
|
* livecodeserver
|
||||||
* `mizar`
|
* livescript
|
||||||
* `perl`
|
* llvm
|
||||||
* `mojolicious`
|
* lsl
|
||||||
* `monkey`
|
* lua
|
||||||
* `moonscript`
|
* makefile
|
||||||
* `n1ql`
|
* mathematica
|
||||||
* `nginx`
|
* matlab
|
||||||
* `nimrod`
|
* maxima
|
||||||
* `nix`
|
* mel
|
||||||
* `nsis`
|
* mercury
|
||||||
* `objectivec`
|
* mipsasm
|
||||||
* `ocaml`
|
* mizar
|
||||||
* `openscad`
|
* perl
|
||||||
* `oxygene`
|
* mojolicious
|
||||||
* `parser3`
|
* monkey
|
||||||
* `pf`
|
* moonscript
|
||||||
* `php`
|
* n1ql
|
||||||
* `pony`
|
* nginx
|
||||||
* `powershell`
|
* nimrod
|
||||||
* `processing`
|
* nix
|
||||||
* `profile`
|
* nsis
|
||||||
* `prolog`
|
* objectivec
|
||||||
* `protobuf`
|
* ocaml
|
||||||
* `puppet`
|
* openscad
|
||||||
* `purebasic`
|
* oxygene
|
||||||
* `python`
|
* parser3
|
||||||
* `q`
|
* pf
|
||||||
* `qml`
|
* php
|
||||||
* `r`
|
* pony
|
||||||
* `rib`
|
* powershell
|
||||||
* `roboconf`
|
* processing
|
||||||
* `routeros`
|
* profile
|
||||||
* `rsl`
|
* prolog
|
||||||
* `ruleslanguage`
|
* protobuf
|
||||||
* `rust`
|
* puppet
|
||||||
* `scala`
|
* purebasic
|
||||||
* `scheme`
|
* python
|
||||||
* `scilab`
|
* q
|
||||||
* `scss`
|
* qml
|
||||||
* `shell`
|
* r
|
||||||
* `smali`
|
* rib
|
||||||
* `smalltalk`
|
* roboconf
|
||||||
* `sml`
|
* routeros
|
||||||
* `sqf`
|
* rsl
|
||||||
* `sql`
|
* ruleslanguage
|
||||||
* `stan`
|
* rust
|
||||||
* `stata`
|
* scala
|
||||||
* `step21`
|
* scheme
|
||||||
* `stylus`
|
* scilab
|
||||||
* `subunit`
|
* scss
|
||||||
* `swift`
|
* shell
|
||||||
* `taggerscript`
|
* smali
|
||||||
* `yaml`
|
* smalltalk
|
||||||
* `tap`
|
* sml
|
||||||
* `tcl`
|
* sqf
|
||||||
* `tex`
|
* sql
|
||||||
* `thrift`
|
* stan
|
||||||
* `tp`
|
* stata
|
||||||
* `twig`
|
* step21
|
||||||
* `typescript`
|
* stylus
|
||||||
* `vala`
|
* subunit
|
||||||
* `vbnet`
|
* swift
|
||||||
* `vbscript`
|
* taggerscript
|
||||||
* `vbscript-html`
|
* yaml
|
||||||
* `verilog`
|
* tap
|
||||||
* `vhdl`
|
* tcl
|
||||||
* `vim`
|
* tex
|
||||||
* `x86asm`
|
* thrift
|
||||||
* `xl`
|
* tp
|
||||||
* `xquery`
|
* twig
|
||||||
* `zephir`
|
* typescript
|
||||||
|
* vala
|
||||||
|
* vbnet
|
||||||
|
* vbscript
|
||||||
|
* vbscript-html
|
||||||
|
* verilog
|
||||||
|
* vhdl
|
||||||
|
* vim
|
||||||
|
* x86asm
|
||||||
|
* xl
|
||||||
|
* xquery
|
||||||
|
* zephir
|
||||||
|
|
||||||
|
## 主题
|
||||||
|
|
||||||
|
* agate
|
||||||
|
* androidstudio
|
||||||
|
* arduino-light
|
||||||
|
* arta
|
||||||
|
* ascetic
|
||||||
|
* atelier-cave-dark
|
||||||
|
* atelier-cave-light
|
||||||
|
* atelier-dune-dark
|
||||||
|
* atelier-dune-light
|
||||||
|
* atelier-estuary-dark
|
||||||
|
* atelier-estuary-light
|
||||||
|
* atelier-forest-dark
|
||||||
|
* atelier-forest-light
|
||||||
|
* atelier-heath-dark
|
||||||
|
* atelier-heath-light
|
||||||
|
* atelier-lakeside-dark
|
||||||
|
* atelier-lakeside-light
|
||||||
|
* atelier-plateau-dark
|
||||||
|
* atelier-plateau-light
|
||||||
|
* atelier-savanna-dark
|
||||||
|
* atelier-savanna-light
|
||||||
|
* atelier-seaside-dark
|
||||||
|
* atelier-seaside-light
|
||||||
|
* atelier-sulphurpool-dark
|
||||||
|
* atelier-sulphurpool-light
|
||||||
|
* atom-one-dark
|
||||||
|
* atom-one-light
|
||||||
|
* brown-paper
|
||||||
|
* brown-papersq.png
|
||||||
|
* codepen-embed
|
||||||
|
* color-brewer
|
||||||
|
* darcula
|
||||||
|
* dark
|
||||||
|
* darkula
|
||||||
|
* default
|
||||||
|
* docco
|
||||||
|
* dracula
|
||||||
|
* far
|
||||||
|
* foundation
|
||||||
|
* github-gist
|
||||||
|
* github
|
||||||
|
* googlecode
|
||||||
|
* grayscale
|
||||||
|
* gruvbox-dark
|
||||||
|
* gruvbox-light
|
||||||
|
* hopscotch
|
||||||
|
* hybrid
|
||||||
|
* idea
|
||||||
|
* ir-black
|
||||||
|
* kimbie.dark
|
||||||
|
* kimbie.light
|
||||||
|
* magula
|
||||||
|
* mono-blue
|
||||||
|
* monokai-sublime
|
||||||
|
* monokai
|
||||||
|
* obsidian
|
||||||
|
* ocean
|
||||||
|
* paraiso-dark
|
||||||
|
* paraiso-light
|
||||||
|
* pojoaque
|
||||||
|
* pojoaque.jpg
|
||||||
|
* purebasic
|
||||||
|
* qtcreator_dark
|
||||||
|
* qtcreator_light
|
||||||
|
* railscasts
|
||||||
|
* rainbow
|
||||||
|
* routeros
|
||||||
|
* school-book
|
||||||
|
* school-book.png
|
||||||
|
* solarized-dark
|
||||||
|
* solarized-light
|
||||||
|
* sunburst
|
||||||
|
* tomorrow-night-blue
|
||||||
|
* tomorrow-night-bright
|
||||||
|
* tomorrow-night-eighties
|
||||||
|
* tomorrow-night
|
||||||
|
* tomorrow
|
||||||
|
* vs
|
||||||
|
* vs2015
|
||||||
|
* xcode
|
||||||
|
* xt256
|
||||||
|
* zenburn
|
||||||
Reference in New Issue
Block a user