diff docs/config.yml @ 509:0f777870fbaf

docs: Configure fenced code blocks in Markdown with Pygments highlighting.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 26 Jul 2015 09:47:33 -0700
parents 61d53d2163d6
children fc761964e1a7
line wrap: on
line diff
--- a/docs/config.yml	Sun Jul 26 09:46:49 2015 -0700
+++ b/docs/config.yml	Sun Jul 26 09:47:33 2015 -0700
@@ -30,12 +30,13 @@
             # Ignore stuff that will get concatenated into the main JS file.
             ignore: js/piecrust
 
-smartypants:
-    enable: true
-
 # This is 2015, come on Markdown.
 markdown:
-    extensions: abbr, fenced_code, footnotes, smart_strong
+    extensions: abbr, fenced_code, footnotes, smart_strong, codehilite, smarty
+    extension_configs:
+        codehilite:
+            css_class: highlight
+            guess_lang: false
 
 # Need Foundation for CSS/JS. Install with Bower.
 sass: