summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/hakyll/tutorials/part07.markdown10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/hakyll/tutorials/part07.markdown b/examples/hakyll/tutorials/part07.markdown
index 98aeef2..9a516a3 100644
--- a/examples/hakyll/tutorials/part07.markdown
+++ b/examples/hakyll/tutorials/part07.markdown
@@ -3,6 +3,16 @@ title: Interlude
what: gives some various tips and tricks about Hakyll
---
+## Syntax-highlighting
+
+Pandoc (which Hakyll uses as a backend) offers powerful syntax highlighting.
+To enable this, Pandoc needs to be compiled with highlighting support. If this
+is not the case, you can fix this using:
+
+~~~~~
+[jasper@alice ~]$ cabal install --reinstall -fhighlighting pandoc
+~~~~~
+
## Auto-compilation
Hakyll features a simple _auto-compilation_ mode. This is invoked by running