A simple copy of latex.py into the markdown/extensions/ directory is not enough in Markdown 3.1.1 on Python 3.8. The module is not found.
It looks like you are using an old registration method, perhaps that is the cause; the current procedure invokes registerExtension() on another class, markdown.extension.Extension, than you are using.
A simple copy of
latex.py
into themarkdown/extensions/
directory is not enough in Markdown 3.1.1 on Python 3.8. The module is not found.It looks like you are using an old registration method, perhaps that is the cause; the current procedure invokes
registerExtension()
on another class,markdown.extension.Extension
, than you are using.