Fixed markdown-to-micron link rendering

This commit is contained in:
Mark Qvist 2026-05-02 18:48:46 +02:00
parent 0c9a65b5f1
commit 72aace40d3

View file

@ -257,7 +257,7 @@ class MarkdownToMicron:
# TODO: Evaluate best way to handle both normal and nomadnet URLs
text = text.replace('`', '')
# url = url.replace('`', '\\`')
return f"`[{text}`{url}]"
return f"`!`[{text}`{url}]`!"
def _format_header(self, match):
hashes = match.group(1)