Skip to content

Conversation

@patacra
Copy link

@patacra patacra commented Jun 10, 2025

Since both hooks onWillTransformMarkdown() and onDidTransformMarkdown() have been removed, the documentation should be updated. Adding a function header might also help users understand how to use it.

By the way, it would be great if one could have access to a DOM parser, as HTML modification with regular expressions is complicated and relatively dangerous. I see that cheerio is used in some places. How could one make it accessible to the hooks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant