Github Pages 代码语法高亮支持的语言和语法分析器

| 分类 programming  | 标签 github  markdown  jekyll  rouge 

Github Pages 现只支持使用 Rouge 来代码语法高亮了。

Rouge 项目 中摘录支持的语言和语法分析器如下,以便查阅。

  1. apache: extend previous fix to apache and cmake lexers
  2. apiblueprint: Add a lexer for API Blueprint
  3. apple_script: utf-8 rampage
  4. biml: Initial BIML syntax highlighting support
  5. c: make glob matching case insensitive
  6. ceylon: Ceylon lexer
  7. cfscript: Add lexer for cfscript
  8. clojure: utf-8 rampage
  9. cmake: extend previous fix to apache and cmake lexers
  10. coffeescript: utf-8 rampage
  11. common_lisp: utf-8 rampage
  12. conf: utf-8 rampage
  13. coq: fixing the coq guessing code.
  14. cpp: Add arduino filemappings to cpp spec
  15. csharp: utf-8 rampage
  16. css: utf-8 rampage
  17. d: added spec for D lexer
  18. dart: Newlines, interpolations parsing, fix floating point values issue
  19. diff: utf-8 rampage
  20. docker: Remove unneccessary analyzing from source code
  21. eiffel: Add Eiffel lexer
  22. elixir: utf-8 rampage
  23. erb: utf-8 rampage
  24. erlang: utf-8 rampage
  25. factor: utf-8 rampage
  26. fortran: Add Fortran95 support.
  27. fsharp: Added real F# sample. Fixed some indenting.
  28. gherkin: utf-8 rampage
  29. go: utf-8 rampage
  30. gradle: #468: Fix errors in Gradle spec file
  31. groovy: utf-8 rampage
  32. haml: utf-8 rampage
  33. handlebars: utf-8 rampage
  34. haskell: utf-8 rampage
  35. html: HTML: Add dash to the allowed characters in tag names
  36. idlang: Remove .pro from the lexer guessing routine (see jneen/rouge#395)
  37. ini: utf-8 rampage
  38. io: utf-8 rampage
  39. java: utf-8 rampage
  40. javascript: Add application/hal+json Mime Types
  41. jinja: Add a Jinja (jinja.pocoo.org) lexer
  42. jsonnet: Add Jsonnet lexer.
  43. julia: Create lexer for the Julia programming language
  44. kotlin: Add Kotlin lexer
  45. liquid: Add test spec and demo
  46. literate_coffeescript: utf-8 rampage
  47. literate_haskell: utf-8 rampage
  48. llvm: utf-8 rampage
  49. lua: utf-8 rampage
  50. make: utf-8 rampage
  51. markdown: utf-8 rampage
  52. matlab: utf-8 rampage
  53. moonscript: utf-8 rampage
  54. nginx: utf-8 rampage
  55. nim: Nim: Visual spec update + basic tests
  56. objective_c: utf-8 rampage
  57. ocaml: utf-8 rampage
  58. pascal: Add missing newline characters to Pascal-related files
  59. perl: utf-8 rampage
  60. plain_text: utf-8 rampage
  61. powershell: Update powershell_spec.rb
  62. praat: Praat: Add some automated tests
  63. prolog: utf-8 rampage
  64. properties: utf-8 rampage
  65. protobuf: Add protobuf lexer
  66. puppet: utf-8 rampage
  67. python: utf-8 rampage
  68. qml: utf-8 rampage
  69. r: Add test case for lowercase-R filename
  70. racket: utf-8 rampage
  71. ruby: Add Berksfile to ruby spec
  72. rust: Do not test .rc extension against rust lexer
  73. scala: utf-8 rampage
  74. scheme: utf-8 rampage
  75. sed: utf-8 rampage
  76. shell: Add arch linux PKGBUILD to shell lexer
  77. slim: don’t be nearly so eager to guess slim
  78. smalltalk: utf-8 rampage
  79. smarty: Make tests pass, add analyzer
  80. sml: utf-8 rampage
  81. sql: fix #360: new line is expected to end one line comment
  82. swift: Fix Swift multiline comment lexing with forward slashes
  83. tap: Clean up the TAP spec.
  84. tcl: utf-8 rampage
  85. tex: utf-8 rampage
  86. toml: utf-8 rampage
  87. tulip: add a new lexer for tulip
  88. twig: Add a Twig lexer
  89. typescript: Add typescript support
  90. verilog: Implement Verilog and SystemVerilog lexer
  91. viml: utf-8 rampage
  92. xml: utf-8 rampage
  93. yaml: utf-8 rampage

上一篇     下一篇