mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Parse Markdown inside HTML tags in config.md (#1552)
This commit is contained in:
parent
5b2a389454
commit
eb839f0ba2
1 changed files with 1 additions and 1 deletions
|
@ -613,7 +613,7 @@ class AddonManager:
|
|||
path = os.path.join(self.addonsFolder(dir), "config.md")
|
||||
if os.path.exists(path):
|
||||
with open(path, encoding="utf-8") as f:
|
||||
return markdown.markdown(f.read())
|
||||
return markdown.markdown(f.read(), extensions=["md_in_html"])
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue