Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initializer hard-codes parsers list, hard to extend #36

Open
jaredcwhite opened this issue Jun 3, 2022 · 0 comments
Open

Initializer hard-codes parsers list, hard to extend #36

jaredcwhite opened this issue Jun 3, 2022 · 0 comments

Comments

@jaredcwhite
Copy link

It would be awesome if the GFM parser could be extended more easily…as it is, the initializer hard-codes span parsers (and maybe block parsers…hard to tell), so there's no way to extend without monkey-patching, or subclassing (but then anything which is configured specifically to use GFM wouldn't load the subclass).

For example, I wanted to add <mark> highlighting via :: or == which is common in many Markdown editors. I had to monkey-patch in order to do so, which isn't the end of the world, but it'd be nice to have a more extensible solution. Thoughts?

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

No branches or pull requests

1 participant