executablebooks / mdit-py-plugins

Collection of core plugins for markdown-it-py
https://mdit-py-plugins.readthedocs.io
MIT License
30 stars 32 forks source link

Fix compatiblity of admonition with Python-Markdown #93 #95

Closed randomstuff closed 1 year ago

randomstuff commented 1 year ago

Align behavior of admonition with Python-Markdown, including CSS classes. This implementation might be a breaking change however because unquoted tokens are now treated as CSS classes.

welcome[bot] commented 1 year ago

Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out EBP's Code of Conduct and our Contributing Guide, as this will greatly help the review process.
Welcome to the EBP community! :tada:

randomstuff commented 1 year ago

Might require an option to opt-in a "Python-Markdown" compatible mode in order to avoid breaking existing users.

randomstuff commented 1 year ago

94 will probably be merged instead.