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

Doesn't work together with markdown-3.0 #3

Open
y0va opened this issue Sep 25, 2018 · 1 comment
Open

Doesn't work together with markdown-3.0 #3

y0va opened this issue Sep 25, 2018 · 1 comment

Comments

@y0va
Copy link

y0va commented Sep 25, 2018

With markdown-3.0 inlinePatterns seems not to be iterable anymore with iteritems():

$ pip install markdown
Collecting markdown
  Using cached https://files.pythonhosted.org/packages/7a/fd/e22357c299e93c0bc11ec8ba54e79f98dd568e09adfe9b39d6852c744938/Markdown-3.0-py2.py3-none-any.whl
Installing collected packages: markdown
Successfully installed markdown-3.0
~/coding/markdown2latex$ ./mdx_latex.py recommendations.md
Traceback (most recent call last):
  File "./mdx_latex.py", line 700, in <module>
    main()
  File "./mdx_latex.py", line 690, in main
    mkdn2latex.extendMarkdown(md, markdown.__dict__)
  File "./mdx_latex.py", line 133, in extendMarkdown
    for key, pat in self.md.inlinePatterns.iteritems():
AttributeError: 'Registry' object has no attribute 'iteritems'
@rufuspollock
Copy link
Owner

@y0va thanks - do you want to submit a PR for this?

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

No branches or pull requests

2 participants