-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Indented tables are ignored #1246
Comments
After a little of debug, I found the line where the table is ignored:
As the table is nested in the list item, |
@wpomier looks like you are correct. Would you like to submit a PR removing the check for Also add a test in |
Given this is not an example called out in a spec and can have an issue associated with it I recommend using That's a broader PR and is only meant to show the test setup. The big thing is referencing the issue number. Don't worry about example numbers, I'll fix mine if necessary. |
ps. |
Same problem, |
Marked version: 0.3.19
Markdown flavor: GitHub Flavored Markdown
Github commit: b78deebf
Issue Description
When the table is indented (e.g. inside an unordered list), it's ignored.
The following markdown text doesn't work:
See it in the Marked Demo page
Result
It should be rendered to:
Marked doesn't work with indented tables like this:
What was attempted
Basic usage.
The text was updated successfully, but these errors were encountered: