Changes formatter.
This commit is contained in:
parent
a301e2c5bf
commit
cfa2af61b8
@ -1,7 +1,7 @@
|
|||||||
# Original source: https://brandonjay.dev/posts/2021/render-markdown-html-in-python-with-jinja2
|
# Original source: https://brandonjay.dev/posts/2021/render-markdown-html-in-python-with-jinja2
|
||||||
|
|
||||||
from types import SimpleNamespace
|
from types import SimpleNamespace
|
||||||
from html.parser import escape
|
from html import escape
|
||||||
from app.cache import time_cache_async
|
from app.cache import time_cache_async
|
||||||
from mistune import HTMLRenderer, Markdown
|
from mistune import HTMLRenderer, Markdown
|
||||||
from pygments import highlight
|
from pygments import highlight
|
||||||
|
Loading…
Reference in New Issue
Block a user