on master help sign in
Add tutorial section about syntax highlighting.
commite7d446c1a470bafc0b8640c73d4637bdecd8b2a3 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateThu 13 May 2010, 17:15 (16 years ago) parent7a73820
1 file changed+10
examples/hakyll/tutorials/part07.markdown+10
examples/hakyll/tutorials/part07.markdown+10
@@ -3,6 +3,16 @@ title: Interlude
33what: gives some various tips and tricks about Hakyll
44---
55
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+
616## Auto-compilation
717
818Hakyll features a simple _auto-compilation_ mode. This is invoked by running