mirror of
https://github.com/srid/rib.git
synced 2024-11-22 19:35:36 +03:00
8274a6018e
- Resolves #149 - Resolves #125
617 B
617 B
title | tags | |
---|---|---|
Enable Syntax Highlighting |
|
Use Pandoc to add syntax highlighting support to your rib site.
-
Import the desired style from Pandoc
import Text.Pandoc.Highlighting (styleToCss, tango)
-
Add it to the
<head>
section of your HTML:style_ [type_ "text/css"] $ styleToCss tango
-
Make sure that your Markdown files specify the language in their fenced code blocks. See Github documentation for details.