-
Notifications
You must be signed in to change notification settings - Fork 58
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
Tables break in markdown-it v12 #113
Comments
valtlai
changed the title
Tables break on markdown-it v12
Tables break in markdown-it v12
Oct 21, 2020
I got it to apply the class to the
Looks like markdown-it treats the last line as part of the table even when it doesn't contain any pipes. |
@schl3ck You’re right. That new behavior in markdown-it v12 is correct according to GitHub Flavored Markdown Spec. Opened PR #114 to update markdown-it to v12 and a test to use a blank line after the table. |
arve0
pushed a commit
that referenced
this issue
Dec 31, 2020
Fixes #113 by adding a blank line after the table in a test.
mubaraqwahab
added a commit
to mubaraqwahab/thinkdev
that referenced
this issue
Mar 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Markdown-it v12 was just released. We can’t just bump the markdown-it version because tables don’t work correctly without code changes. I’m not sure if markdown-it-attrs or markdown-it itself should be updated to fix the issue.
Markdown-it versions:
12.0.0
Example input:
Current output:
Expected output:
The text was updated successfully, but these errors were encountered: