I am trying to use Maruku dialect but the {:toc} helper doesn't work me.
Input
const text = `* This list will contain the toc (it doesn't matter what you write here)
{:toc}
# This is heading
content
## This is subheading
content
`
markdown.toHTML(text, 'Maruku')
Output
<ul><li>This list will contain the toc (it doesn't matter what you write here)</li></ul>
<h1>This is heading</h1>
<p>content</p>
<h2>This is subheading</h2>
<p>content</p>
I am trying to use
Maruku
dialect but the{:toc}
helper doesn't work me.Input
Output