Skip to content

Conversation

@AbigailBuccaneer
Copy link
Contributor

This fixes usage of markdown-macros with new versions of markdown and Python. Now, on any version of markdown from 2.1.1 to 3.2.1 (the latest), and Python 2 or 3, the extension can be used how extensions are supposed to be.

This is the special sauce that allows doing:

    markdown.Markdown(extensions=["macros"])

...as opposed to:

    import mdx_macros
    markdown.Markdown(extensions=[mdx_macros.MacroExtension])
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