Github Pages 现只支持使用 Rouge 来代码语法高亮了。
从 Rouge 项目 中摘录支持的语言和语法分析器如下,以便查阅。
- apache: extend previous fix to apache and cmake lexers
- apiblueprint: Add a lexer for API Blueprint
- apple_script: utf-8 rampage
- biml: Initial BIML syntax highlighting support
- c: make glob matching case insensitive
- ceylon: Ceylon lexer
- cfscript: Add lexer for cfscript
- clojure: utf-8 rampage
- cmake: extend previous fix to apache and cmake lexers
- coffeescript: utf-8 rampage
- common_lisp: utf-8 rampage
- conf: utf-8 rampage
- coq: fixing the coq guessing code.
- cpp: Add arduino filemappings to cpp spec
- csharp: utf-8 rampage
- css: utf-8 rampage
- d: added spec for D lexer
- dart: Newlines, interpolations parsing, fix floating point values issue
- diff: utf-8 rampage
- docker: Remove unneccessary analyzing from source code
- eiffel: Add Eiffel lexer
- elixir: utf-8 rampage
- erb: utf-8 rampage
- erlang: utf-8 rampage
- factor: utf-8 rampage
- fortran: Add Fortran95 support.
- fsharp: Added real F# sample. Fixed some indenting.
- gherkin: utf-8 rampage
- go: utf-8 rampage
- gradle: #468: Fix errors in Gradle spec file
- groovy: utf-8 rampage
- haml: utf-8 rampage
- handlebars: utf-8 rampage
- haskell: utf-8 rampage
- html: HTML: Add dash to the allowed characters in tag names
- idlang: Remove .pro from the lexer guessing routine (see jneen/rouge#395)
- ini: utf-8 rampage
- io: utf-8 rampage
- java: utf-8 rampage
- javascript: Add application/hal+json Mime Types
- jinja: Add a Jinja (jinja.pocoo.org) lexer
- jsonnet: Add Jsonnet lexer.
- julia: Create lexer for the Julia programming language
- kotlin: Add Kotlin lexer
- liquid: Add test spec and demo
- literate_coffeescript: utf-8 rampage
- literate_haskell: utf-8 rampage
- llvm: utf-8 rampage
- lua: utf-8 rampage
- make: utf-8 rampage
- markdown: utf-8 rampage
- matlab: utf-8 rampage
- moonscript: utf-8 rampage
- nginx: utf-8 rampage
- nim: Nim: Visual spec update + basic tests
- objective_c: utf-8 rampage
- ocaml: utf-8 rampage
- pascal: Add missing newline characters to Pascal-related files
- perl: utf-8 rampage
- plain_text: utf-8 rampage
- powershell: Update powershell_spec.rb
- praat: Praat: Add some automated tests
- prolog: utf-8 rampage
- properties: utf-8 rampage
- protobuf: Add protobuf lexer
- puppet: utf-8 rampage
- python: utf-8 rampage
- qml: utf-8 rampage
- r: Add test case for lowercase-R filename
- racket: utf-8 rampage
- ruby: Add Berksfile to ruby spec
-
rust: Do not test
.rc
extension against rust lexer - scala: utf-8 rampage
- scheme: utf-8 rampage
- sed: utf-8 rampage
- shell: Add arch linux PKGBUILD to shell lexer
- slim: don't be nearly so eager to guess slim
- smalltalk: utf-8 rampage
- smarty: Make tests pass, add analyzer
- sml: utf-8 rampage
- sql: fix #360: new line is expected to end one line comment
- swift: Fix Swift multiline comment lexing with forward slashes
- tap: Clean up the TAP spec.
- tcl: utf-8 rampage
- tex: utf-8 rampage
- toml: utf-8 rampage
- tulip: add a new lexer for tulip
- twig: Add a Twig lexer
- typescript: Add typescript support
- verilog: Implement Verilog and SystemVerilog lexer
- viml: utf-8 rampage
- xml: utf-8 rampage
- yaml: utf-8 rampageG