From 200fb4d6aac73e5db8facf46b4b4354b7520bf5f Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Thu, 31 May 2012 10:31:33 +0200 Subject: Update syntax highlighting section in FAQ Closes #68 --- web/tutorials/faq.markdown | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'web') diff --git a/web/tutorials/faq.markdown b/web/tutorials/faq.markdown index 6d51617..eed32a2 100644 --- a/web/tutorials/faq.markdown +++ b/web/tutorials/faq.markdown @@ -1,5 +1,6 @@ --- title: FAQ +author: Jasper Van der Jeugt --- ## "File name does not match module name" on Mac OS @@ -44,10 +45,12 @@ And using this instead of `pageCompiler` should solve the issue. ## Does Hakyll support syntax highlighting? -Syntax highlighting is enabled by default in Hakyll. However, you also need to -enable it in pandoc. If no syntax highlighting shows up, try +Syntax highlighting is enabled by default in Hakyll if you are using a somewhat +recent version of Pandoc (1.9 and onwards). Note that you also need to include +some CSS in order for this to work! This site, for example, uses the [default +Pandoc syntax CSS file][syntax-css]. - [jasper@phoenix] cabal install --reinstall -fhighlighting pandoc +[syntax-css]: https://github.com/jaspervdj/hakyll/blob/master/web/css/syntax.css ## When should I rebuild and when should I build? -- cgit v1.2.3