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

DeprecationWarning with markdown #6317

Closed
blueyed opened this issue Nov 13, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@blueyed
Copy link
Contributor

commented Nov 13, 2018

Code:

def md_filter_add_syntax_highlight(md):
md.preprocessors.add('highlight', CodeBlockPreprocessor(), "_begin")
return True

Warning:

DeprecationWarning: Using the add method to register a processor or pattern is deprecated. Use the register method instead.

Relevant commit in markdown: Python-Markdown/markdown@6ee07d2

@tomchristie

This comment has been minimized.

Copy link
Member

commented Jan 8, 2019

This'd probably be a good one for a contributor to jump onto, right?

waves to the world

@rpkilby

This comment has been minimized.

Copy link
Member

commented Jan 17, 2019

Note - we added the "good first issue" label a while back, which theoretically helps new users find issues like these?

@mcab

This comment has been minimized.

Copy link

commented Jan 20, 2019

I gave it a shot in PR #6412!

@rpkilby

This comment has been minimized.

Copy link
Member

commented May 31, 2019

Thanks again @mcab!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.