diff options
Diffstat (limited to 'web/tutorials')
-rw-r--r-- | web/tutorials/faq.markdown | 9 |
1 files changed, 6 insertions, 3 deletions
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? |