``` haskell
main :: IO ()
main = putStrLn "Hello"
```
<div class="sourceCode"><pre class="sourceCode haskell"><code class="sourceCode haskell"><span class="ot">main ::</span> <span class="dt">IO</span> ()
main <span class="fu">=</span> putStrLn <span class="st">"Hello"</span></code></pre></div><pre class="haskell"><code>main :: IO ()
main = putStrLn "Hello"</code></pre>myPandocCompiler = pandocCompilerWith defaultHakyllReaderOptions defaultHakyllWriterOptions { writerHtml5 = True , writerHighlight = True , writerHighlightStyle = pygments , writerHTMLMathMethod = MathML Nothing , writerEmailObfuscation = NoObfuscation }
```note highlight style parameter, and use it for conversion
```
-- Apply Pandoc compiler to convert articles from internal format match (fromGlob (path ++ "/content/articles/*.md")) $ version "convertedPage" $ compile $ do myPandocCompiler >>= saveSnapshot "contentM"
```
Don't forget to add css generated by pandoc.
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You need to specify configuration
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.