Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1.17 KB

index.md

File metadata and controls

58 lines (35 loc) · 1.17 KB
layout title
default
Welcome

Syntax Highlighter Examples

  • Code Blocks (e.g. ```)
  • Inline Code (e.g. code)
  • Highlight Tag (e.g. {{raw}}{{highlight}}{{endraw}})

_config.yml Settings

highlighter: rouge

markdown: kramdown

kramdown:
  input: GFM
  hard_wrap: false
  syntax_highlighter: rouge

References

Jekyll F.A.Q.

For more info see the Jekyll F.A.Q. entries:

  • Q: How can I get backtick fenced code blocks (e.g. ```) working (with kramdown)?
  • Q: How can I turn on syntax highlighting in code blocks (with kramdown 'n' rouge)?
  • Q: How can I turn off syntax highlighting in code blocks (with kramdown 'n' rouge)?

Jekyll Docu

  • Syntax Highlighter

Kramdown Docu

  • Using the Rouge Syntax Highlighter

Rouge Docu

  • Language Examples

GitHub Pages Help

  • Syntax Highlighter