From e7d446c1a470bafc0b8640c73d4637bdecd8b2a3 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 13 May 2010 17:15:19 +0200 Subject: Add tutorial section about syntax highlighting. --- examples/hakyll/tutorials/part07.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'examples') 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 -- cgit v1.2.3