Skip to content

Commit a76e350

Browse files
committed
Update myst_target regex pattern to include more characters
1 parent 2ec0abd commit a76e350

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

markdown_it/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .main import MarkdownIt # noqa: F401
22

33

4-
__version__ = "0.3.0"
4+
__version__ = "0.3.1"

markdown_it/extensions/myst_blocks/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from markdown_it.common.utils import charCodeAt, isSpace, escapeHtml
66

77

8-
TARGET_PATTERN = re.compile(r"^\(([a-zA-Z0-9\_\-\+\:]{1,36})\)\=\s*$")
8+
TARGET_PATTERN = re.compile(r"^\(([a-zA-Z0-9\|\@\<\>\*\.\/\_\-\+\:]{1,36})\)\=\s*$")
99

1010

1111
def myst_block_plugin(md: MarkdownIt):

0 commit comments

Comments
 (0)