on master help sign in
Update syntax highlighting section in FAQ

Closes #68

commit200fb4d6aac73e5db8facf46b4b4354b7520bf5f authorJasper Van der Jeugt <m@jaspervdj.be> dateThu 31 May 2012, 10:31 (14 years ago) parenta27e254
1 file changed+6−3
web/tutorials/faq.markdown+6−3
web/tutorials/faq.markdown+6−3
@@ -1,5 +1,6 @@
11---
22title: FAQ
3+author: Jasper Van der Jeugt
34---
45
56## "File name does not match module name" on Mac OS
@@ -44,10 +45,12 @@ And using this instead of `pageCompiler` should solve the issue.
4445
4546## Does Hakyll support syntax highlighting?
4647
47−Syntax highlighting is enabled by default in Hakyll. However, you also need to
48−enable it in pandoc. If no syntax highlighting shows up, try
48+Syntax highlighting is enabled by default in Hakyll if you are using a somewhat
49+recent version of Pandoc (1.9 and onwards). Note that you also need to include
50+some CSS in order for this to work! This site, for example, uses the [default
51+Pandoc syntax CSS file][syntax-css].
4952
50− [jasper@phoenix] cabal install --reinstall -fhighlighting pandoc
53+[syntax-css]: https://github.com/jaspervdj/hakyll/blob/master/web/css/syntax.css
5154
5255## When should I rebuild and when should I build?
5356