diff --git a/mistletoe/__init__.py b/mistletoe/__init__.py index 788966f..bc1a69e 100644 --- a/mistletoe/__init__.py +++ b/mistletoe/__init__.py @@ -8,6 +8,9 @@ from mistletoe.block_token import Document from mistletoe.html_renderer import HtmlRenderer +# import the old name for backwards compatibility: +from mistletoe.html_renderer import HTMLRenderer # noqa: F401 + def markdown(iterable, renderer=HtmlRenderer): """