-
-
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
single column Markdown pipe table rendered by GFM and PHP fails under Pandoc #7919
Comments
I see this in the code of the Markdown reader: -- surrounding pipes needed for a one-column table:
guard $ not (length cells == 1 && not openPipe) My guess is that this was put here for a reason! But what? |
See #7919. We still need to implement this for gfm (commonmark). This must be done via changes in commonmark-hs.
@vassudanagunta this should be fixed when using |
The long-term plan is for what is currently perhaps we should mention that in https://pandoc.org/MANUAL.html#markdown-variants ? |
OK, sounds like you're not interested in differences between But what about If there's no quick answer and this should be a discussion, I can move this to the Pandoc forum. |
|
I couldn't find that documented anywhere. I think that's important to make clear, both for user expectations as well as to gate bug reports, whether it is "contractually" a strict superset. I don't know if I should be filling bug reports for differences in |
Well, I spoke too soon. It's not quite a superset, because in
(We prefer to make the information accessible in this form rather than updating the manual and potentially getting it out of sync with the code.) |
Explain the problem.
Pandoc fails to render the following markdown as a table:
As can be seen directly below as well as in Babelmark 3, this is rendered as a table by GFM, PHP Markdown Extra, and many others.
Pandoc does render the following form as a table:
Pandoc version?
Pandoc 2.17.1, the current version on pandoc.org/try
The text was updated successfully, but these errors were encountered: