We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9d6d1 commit 4a7ac78Copy full SHA for 4a7ac78
markdown_it/extensions/myst_role/index.py
@@ -5,7 +5,7 @@
5
from markdown_it.common.utils import charCodeAt, escapeHtml
6
7
8
-PATTERN = re.compile(r"^\{([a-zA-Z\_\-\+\:]{1,36})\}(`+)(?!`)(.+?)(?<!`)\2(?!`)")
+PATTERN = re.compile(r"^\{([a-zA-Z0-9\_\-\+\:]{1,36})\}(`+)(?!`)(.+?)(?<!`)\2(?!`)")
9
10
11
def myst_role_plugin(md: MarkdownIt):
0 commit comments