summaryrefslogtreecommitdiff
path: root/web/tutorials
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2012-05-31 10:31:33 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2012-05-31 10:31:33 +0200
commit200fb4d6aac73e5db8facf46b4b4354b7520bf5f (patch)
treefafb75c73c6c708d4e4d83a034db4b437b87e6b1 /web/tutorials
parenta27e254e0b1f9359653aa378565cc867049342e2 (diff)
downloadhakyll-200fb4d6aac73e5db8facf46b4b4354b7520bf5f.tar.gz
Update syntax highlighting section in FAQ
Closes #68
Diffstat (limited to 'web/tutorials')
-rw-r--r--web/tutorials/faq.markdown9
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?