1
1
mirror of https://github.com/srid/rib.git synced 2024-11-22 19:35:36 +03:00
rib/guide/2015603.md
Sridhar Ratnakumar 8274a6018e Significant expansion to the documentation
- Resolves #149
- Resolves #125
2020-04-17 22:03:57 -04:00

617 B

title tags
Enable Syntax Highlighting
guide

Use Pandoc to add syntax highlighting support to your rib site.

  1. Import the desired style from Pandoc

    import Text.Pandoc.Highlighting (styleToCss, tango)
    
  2. Add it to the <head> section of your HTML:

    style_ [type_ "text/css"] $ styleToCss tango
    
  3. Make sure that your Markdown files specify the language in their fenced code blocks. See Github documentation for details.