on master help sign in
Add tutorial section about syntax highlighting.
e7d446cJasper Van der Jeugt
examples/hakyll/tutorials/part07.markdown+10
@@ -3,6 +3,16 @@ title: Interlude
3what: gives some various tips and tricks about Hakyll
3what: gives some various tips and tricks about Hakyll
4---
4---
5
5
6+## Syntax-highlighting
7+
8+Pandoc (which Hakyll uses as a backend) offers powerful syntax highlighting.
9+To enable this, Pandoc needs to be compiled with highlighting support. If this
10+is not the case, you can fix this using:
11+
12+~~~~~
13+[jasper@alice ~]$ cabal install --reinstall -fhighlighting pandoc
14+~~~~~
15+
6## Auto-compilation
16## Auto-compilation
7
17
8Hakyll features a simple _auto-compilation_ mode. This is invoked by running
18Hakyll features a simple _auto-compilation_ mode. This is invoked by running