Skip to content
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

Backticked pipes in table cells shouldn't delimit columns #86

Closed
jbt opened this issue Apr 13, 2015 · 0 comments
Closed

Backticked pipes in table cells shouldn't delimit columns #86

jbt opened this issue Apr 13, 2015 · 0 comments

Comments

@jbt
Copy link
Contributor

jbt commented Apr 13, 2015

I know there was already some stuff in #5 but I don't think it was fully resolved - it looks like 0076a1e doesn't actually fix the final case of a pipe char inside backticks that isn't escaped with a backslash

I've tried to do some reading around but I can't find any kind of consensus on what the Right Thing To Do here is:

 A |  B  | C 
---|-----|---
 1 | `|` | 3

As rendered by GitHub:

A B C
1 ` `

However markdown-it interprets the backticked | as a cell delimiter and breaks.

Looks like marked does the same thing, but there's an issue open there: markedjs/marked#285 - that hasn't been addressed though so I don't know what the "correct" behaviour should be.

(ref. jbt/markdown-editor#20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant