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
@codekiln, thanks for the update. Some more info then:
The thing is one can use MarkdownRenderer as any other renderer in mistletoe. While of course, it has got special options like max_line_length which can be passed to the constructor (see its pydoc).
Also note that there is this dedicated Markdown to Markdown parsing-and-rendering chapter available in the Developer's Guide, which shows how to modify the AST before rendering it back to markdown.
Could you add an example on how to take an AST of the markdown, modify it then write out the result to markdown?
The text was updated successfully, but these errors were encountered: