You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub-Flavored Markdown, PHP Markdown Extra, and the Python Markdown Extra extension all support table syntax, which depends on the bar character (|) to delineate columns. However, only Python's parser does not nicely handle bar characters in code font (backticks) even within tables. It splits a column on any bar character, even if it's part of a code-font sequence. (This causes it to drop the code syntax and any content from extraneous columns, as well.)
A better behavior would be to match the GFM and PHP Markdown Extra behavior, which doesn't split tables on bars that are inside backticks (code-font block).
| Title | Row |
|---|---|
| `a1|a2` | b |
GitHub rendering (PHP Markdown Extra does the same):
Activity
waylan commentedon Feb 28, 2017
We made some recent changes addressing this specific issue (see #530 which is available in 2.6.8). Which version of Python-Markdown are you using?
mDuo13 commentedon Feb 28, 2017
Ah, yes, I'm only on 2.6.2. Upgrading to 2.6.8 fixed the issue. Sorry for the dupe!
facelessuser commentedon Feb 28, 2017
That looks like an old version. I get this on the current: