agoose77 / jupyterlab-markup

JupyterLab extension to enable markdown-it rendering, with support for markdown-it plugins
BSD 3-Clause "New" or "Revised" License
48 stars 13 forks source link

Feat: add post render hook #60

Closed agoose77 closed 2 years ago

agoose77 commented 2 years ago

This PR adds some lifecycle hooks and makes the math parsing a responsibility of MarkdownIt. We still use the ILatexTypesetter interface for typesetting, but this is done explicitly as a post-Markdown rendering transformation.

New Features:

IPostRenderer:

IPreParser: