-
Notifications
You must be signed in to change notification settings - Fork 9
Roles in arguments are not properly parsed #29
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
Comments
I think this may actually be any |
@chrisjsewell do you have some guidance on this? It looks like the "fence" pass does not pick these up if there is a |
This restriction goes all the way back to fence parsing in markdown-it and commonmark - https://github.com/markdown-it/markdown-it/blob/df4607f1d4d4be7fdc32e71c04109aea8cc373fa/lib/rules_block/fence.js#L34-L38 This isn't a problem if tildes are used for the fence, e.g.
So we could constrain the MyST spec to just using those for directives. Somehow changing the fence parsing logic is also possible, but that would be a deep change with significant implications... |
Leaving this as an issue here to look into in a bit. @chrisjsewell if you have ideas in that part of the code base as to why I would love to hear them!
For example, this does not parse in an admonition.
The text was updated successfully, but these errors were encountered: