-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
strikethrough incorrect for 3+ tildes #301
Comments
See example. I'd recommend to discuss at commonmark forum https://talk.commonmark.org/t/a-problem-with-backtick-code-fences/1053 |
Do you have example from real world when |
E.g. when users mistype (when they want to cross-out paragraph or sth) and wonder why their text suddenly disappeared. Edit: I thought it's a bug since I wasn't aware of that discussion and the fact it's actually in CM spec. WTBS, shouldn't the closing |
spec.commonmark.org/0.27/#fenced-code-blocks it's better to discuss spec-related things in other place. closing as not a bug. |
Still, as I said above, acc to CM spec, the closing Any text after opening fenced block sequence is considered The spec is kinda not explicit about this, tho, but it can be verified at their dingus. input:
CM output:
md-it output:
So currently, md-it is not spec compliant. Markdown-it's fenced block using the |
renders to (taken from markdown-it's repl):
GFM ignores the extra
~
and renders:The text was updated successfully, but these errors were encountered: