-
Notifications
You must be signed in to change notification settings - Fork 32
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
Consider disallowing backslashes in MyST targets #37
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
Fair 👍 should be relative easy to make a PR 😉 |
Describe the problem/need and solution
Context
In mdit-py-plugins < 0.3 it backslashes were not allowed in MyST targets. Now they are.
Problem / Idea
This is now a valid MyST target:
(myst_target\)=
I think it would be more intuitive and in line with CommonMark if the backslash escape worked, i.e. prevented the target being parsed successfully.
Solution
Disallow backslashes in MyST targets.
Benefit
Consistency with backslashes in CommonMark.
Guide for implementation
No response
Tasks and updates
No response
The text was updated successfully, but these errors were encountered: