-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow newlines for role syntax parsing #269
Comments
the way how roles are currently indentified in https://github.com/executablebooks/mdit-py-plugins/blob/5c0038fd4348cc37548b3ee7891a9f380517f959/mdit_py_plugins/myst_role/index.py#L8, it is expected. but this could be relatively easily changed to allow for new line breaks |
In the meantime we should document that roles cannot span multiple lines as well (unless you think this enhancement will be done easily/quickly? wdyt?) |
It's pretty easy to run over a line in a role, by accident, so my vote would be to change the behavior. Are there other Markdown inline markups that cannot run over lines? |
we have come across this bug a couple times in some of our projects during |
I noticed that when my
{download}
inline markup flows across lines, the parsing fails. For example:generates
Is this expected? It does not seem to be the case for Sphinx / ReST parsing.
The text was updated successfully, but these errors were encountered: