diff --git a/pweave/formatters/markdownmath.py b/pweave/formatters/markdownmath.py index 5a9c629..f665160 100644 --- a/pweave/formatters/markdownmath.py +++ b/pweave/formatters/markdownmath.py @@ -1,3 +1,4 @@ +from xml.etree.ElementTree import Element import markdown @@ -6,7 +7,7 @@ def __init__(self): markdown.inlinepatterns.Pattern.__init__(self, r'(?= 3.0 pygments ipython nbformat diff --git a/setup.py b/setup.py index 3ca46de..f04c697 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ def read(fname): author_email='matti.pastell@helsinki.fi', url='http://mpastell.com/pweave', packages=['pweave', 'pweave.themes', 'pweave.formatters', 'pweave.processors', 'pweave.bokeh'], - install_requires = ['markdown', + install_requires = ['markdown >= 3.0', 'pygments', 'ipython >= 6.0', 'nbformat',