Tinky Holloway
2016-09-28 00:41:43 UTC
I am starting out with hakyll and am looking to have syntax highlighting in
some posts.
I'm using the site.hs that is generated with hakyll-init. I've created a
markdown syntax post that contains the lines:
``` haskell
main :: IO ()
main = putStrLn "Hello"
```
When I run this through pandoc I get:
<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>
When I look at the source generated by hakyll I only get:
<pre class="haskell"><code>main :: IO ()
main = putStrLn "Hello"</code></pre>
Any ideas?
some posts.
I'm using the site.hs that is generated with hakyll-init. I've created a
markdown syntax post that contains the lines:
``` haskell
main :: IO ()
main = putStrLn "Hello"
```
When I run this through pandoc I get:
<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>
When I look at the source generated by hakyll I only get:
<pre class="haskell"><code>main :: IO ()
main = putStrLn "Hello"</code></pre>
Any ideas?
--
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.