Skip to content

Commit

Permalink
Update myst_target regex pattern to include more characters
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Mar 27, 2020
1 parent 2ec0abd commit a76e350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion markdown_it/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .main import MarkdownIt # noqa: F401


__version__ = "0.3.0"
__version__ = "0.3.1"
2 changes: 1 addition & 1 deletion markdown_it/extensions/myst_blocks/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from markdown_it.common.utils import charCodeAt, isSpace, escapeHtml


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


def myst_block_plugin(md: MarkdownIt):
Expand Down

0 comments on commit a76e350

Please sign in to comment.