Discussion:
[hakyll] How can I get Hakyll to output HTML5?
j***@gmail.com
2018-03-06 17:34:20 UTC
Permalink
So I notice if I run pandoc from the command line, it properly outputs
HTML5:

echo "![Test caption](test.png)" | pandoc -f markdown -t html


produces the proper HTML5 output:

<figure>
<img src="test.png" alt="Test caption" /><figcaption>Test caption
</figcaption>
</figure>


But Hakyll doesn't seem to do this. Instead, it uses <div class="figure">,
which I'm guessing is HTML4. How can I get Hakyll to use HTML5?

Thanks!
--
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.
j***@gmail.com
2018-03-10 14:40:37 UTC
Permalink
It turns out I just needed to update Hakyll to the latest version, and now
it's outputting HTML5 fine.
--
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.
Loading...