~adnano/kiln-discuss

2 2

md2html - html unsafe mode

Details
Message ID
<CNBJC45OW0OK.381FM4X15ZKHK@henleybeach>
DKIM signature
missing
Download raw message
mdtohtml relies upon goldmark[1] to render out the HTML, which supports
an HTML unsafe mode. This would be really useful for me in embedding
videos etc. into blog posts.

Would you consider a patch to enable this by default? Alternatively we
could add a command line argument for this.

[1]: https://github.com/yuin/goldmark
Details
Message ID
<CNBPE00HQPZS.3GQ9HT4YGQQBV@framework>
In-Reply-To
<CNBJC45OW0OK.381FM4X15ZKHK@henleybeach> (view parent)
DKIM signature
missing
Download raw message
On Sun Oct 2, 2022 at 11:16 AM EDT, Edd Salkield wrote:
> mdtohtml relies upon goldmark[1] to render out the HTML, which supports
> an HTML unsafe mode. This would be really useful for me in embedding
> videos etc. into blog posts.
>
> Would you consider a patch to enable this by default? Alternatively we
> could add a command line argument for this.
>
> [1]: https://github.com/yuin/goldmark 

I would consider a patch to make this the default. Though, maybe it
should be opt-in. A command line argument (perhaps '-u') would be fine
as well.
Details
Message ID
<CNCACXWFJV7Q.J4HACU35OHIQ@henleybeach>
In-Reply-To
<CNBPE00HQPZS.3GQ9HT4YGQQBV@framework> (view parent)
DKIM signature
missing
Download raw message
Thanks - I've submitted a patch to add flags for all the available
goldmark renderer options here:
https://lists.sr.ht/~adnano/kiln-devel/patches/35784
Reply to thread Export thread (mbox)