<CNBJC45OW0OK.381FM4X15ZKHK@henleybeach>
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
<CNBPE00HQPZS.3GQ9HT4YGQQBV@framework>
<CNBJC45OW0OK.381FM4X15ZKHK@henleybeach>
(view parent)
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.
<CNCACXWFJV7Q.J4HACU35OHIQ@henleybeach>
<CNBPE00HQPZS.3GQ9HT4YGQQBV@framework>
(view parent)
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