Skip to content

Fixed DeprecationWarning when using Python-Markdown 3.x#2

Open
pedrosousa wants to merge 1 commit into
ribalba:masterfrom
pedrosousa:patch-1
Open

Fixed DeprecationWarning when using Python-Markdown 3.x#2
pedrosousa wants to merge 1 commit into
ribalba:masterfrom
pedrosousa:patch-1

Conversation

@pedrosousa

@pedrosousa pedrosousa commented Sep 4, 2020

Copy link
Copy Markdown

Updated the code to work with the new extension API provided by Python-Markdown 3.x, namely the following changes:

  • md_globals keyword deprecated from extension API
  • Homegrown OrderedDict has been replaced with a purpose-built Registry

Full changelog for v3.0.0:
https://python-markdown.github.io/changelog/#300-2018-09-21

These deprecations started generating errors in v3.4.0.

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