Changes formatter.

This commit is contained in:
retoor 2025-02-07 18:09:15 +01:00
parent a301e2c5bf
commit cfa2af61b8

View File

@ -1,7 +1,7 @@
# Original source: https://brandonjay.dev/posts/2021/render-markdown-html-in-python-with-jinja2
from types import SimpleNamespace
from html.parser import escape
from html import escape
from app.cache import time_cache_async
from mistune import HTMLRenderer, Markdown
from pygments import highlight