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

TypeError: MermaidExtension.extendMarkdown() missing 1 required positional argument: 'md_globals' #9

Open
githubwua opened this issue Jan 13, 2023 · 4 comments · Fixed by githubwua/md_mermaid#1

Comments

@githubwua
Copy link

MermaidExtension is throwing the following error when used in combination with the latest Markdown library :

TypeError: MermaidExtension.extendMarkdown() missing 1 required positional argument: 'md_globals'

The root cause is due to the removal of md_globals in this commit

Stackoverflow mentions a workaround by using Markdown<3.2

We can fix this for good by removing md_globals in here

@johnazule
Copy link

This change hasn't been included in the latest pip package (0.1.1)

@retsyo
Copy link

retsyo commented Dec 23, 2023

@githubwua Could you please make pull requests again so that the official code has the proper code. Thanks

@githubwua githubwua reopened this Dec 28, 2023
@githubwua
Copy link
Author

Looks like someone made a pull request on this issue already back in year 2022, so I closed mine. Not sure if it helps, but I am re-submitting my changes again.

@chorner
Copy link

chorner commented Jan 16, 2024

@oruelle the time has come to either merge one of these PRs and cut a release, deputize more committers on this repo, or to endorse another repo as the new maintainer

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 a pull request may close this issue.

4 participants