You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it's never called (checked it with a print()). I checked out base_renderer and it doesn't seem to be called there either.
I can't tell if the problem is with my code or if the renderer is just not calling the render_html_block or the AST parser is failing to detect the raw HTML in the markdown file at all.
The text was updated successfully, but these errors were encountered:
I have a markdown file with html in it e.g.
This, according to commonmark is allowed see https://spec.commonmark.org/0.31.2/#html-blocks
and I've checked it out https://spec.commonmark.org/dingus/ and it works fine there.
Also see https://spec.commonmark.org/0.31.2/spec.json which has their test spec (in JSON) for this scenario:
I've taken a copy of html_renderer.py and modifying it for my markdown files. So far so good, except for this html block.
It translates into
I've dumped the AST and there are no HTML block elements, they are all RawText.
In html_rendered.py script there is a function:
But it's never called (checked it with a print()). I checked out base_renderer and it doesn't seem to be called there either.
I can't tell if the problem is with my code or if the renderer is just not calling the render_html_block or the AST parser is failing to detect the raw HTML in the markdown file at all.
The text was updated successfully, but these errors were encountered: