Discussion:
[hakyll] Reader Options for markdown_strict ?
r***@gmail.com
2017-03-05 11:31:33 UTC
Permalink
Hi,

I have nested HTML code in HTML blocks. My current hakyll Haskell mail file
adds these HTML blocks into

<pre>
<code>
my HTML
</code>
</pre>

I don't want this pre and code block wrapping.

Running pandoc on my .mkd file directly with the -f markdown_strict option
avoids this behaviour.

What ReaderOptions field values should I use to get the -f markdown_strict
behaviour that I'm after?

Thanks

--
Rob
--
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.
Jasper Van der Jeugt
2017-03-06 11:04:47 UTC
Permalink
Hey Rob,

It looks using `-f markdown_strict` sets the `Ext_raw_html` and
`Ext_shortcut_reference_links` extensions [1].

[1]: https://github.com/jgm/pandoc/blob/1.19.2.1/src/Text/Pandoc/Options.hs#L253-L257

Hope this helps,
Jasper
Post by r***@gmail.com
Hi,
I have nested HTML code in HTML blocks. My current hakyll Haskell mail file
adds these HTML blocks into
<pre>
<code>
my HTML
</code>
</pre>
I don't want this pre and code block wrapping.
Running pandoc on my .mkd file directly with the -f markdown_strict option
avoids this behaviour.
What ReaderOptions field values should I use to get the -f markdown_strict
behaviour that I'm after?
Thanks
--
Rob
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
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.
Loading...