-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I noticed that when my {download} inline markup flows across lines, the parsing fails. For example:
from myst_parser.main import to_html
markdown = """
{download}`Link text <test_long_link.py>`.
Here the link runs across lines, breaking parsing {download}`Here is a short
piece of link text <test_long_link.py>`.
"""
print(to_html(markdown))generates
p><code class="sphinx-role">{download}[Link text <test_long_link.py>]</code>.</p>
<p>Here the link runs across lines, breaking parsing {download}<code>Here is a short piece of link text <test_long_link.py></code>.</p>
Is this expected? It does not seem to be the case for Sphinx / ReST parsing.
mmcky and yilei
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request