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

Add MkDocs extensions support #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

aleksan4eg
Copy link

This PR will add support for MkDocs (Python Markdown) extensions.
I've also updated the README (wrapped the content and correct small typos).

@AliciaSchep
Copy link
Owner

Thanks for this addition! Missed this PR when first submitted 😞

This commit fixes the following error:

 File "site-packages/mdlightbox.py", line 10, in <module>
      from markdown.util import etree
 ImportError: cannot import name 'etree' from 'markdown.util' (site-packages/markdown/util.py)

This import is deprecated and should be replaced by import
`xml.etree.ElementTree as etree`.
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.

3 participants