summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-05-13 17:15:19 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-05-13 17:15:19 +0200
commite7d446c1a470bafc0b8640c73d4637bdecd8b2a3 (patch)
tree2b3ca82aedea0877f2e53ea762a90e2533899a16 /examples
parent7a7382096bb04cce3a63549d650e633660b8220e (diff)
downloadhakyll-e7d446c1a470bafc0b8640c73d4637bdecd8b2a3.tar.gz
Add tutorial section about syntax highlighting.
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