colspan differences with GitHub Flavored Markdown & PHP Markdown Extra
Quick question... Why does MMD chose to treat multiple pipes in a row as a colspan rather than as blank cells, contra PHP Markdown Extra & GitHub flavored Markdown?
I completely sympathize with Penney's earlier comment, "*perhaps a slight exaggeration, but there are almost as many syntaxes for tables as the original Markdown has for all of its features... ;)*", which is right on the money, so this isn't a question about which is "better". ;^) Rather, I saw that MMD table syntax was based loosely on PHP MD Extra, so I'm guessing the compatibility break was intentional.
Fwiw, I do think I prefer MMD... If you need an empty cell, you add a space and you're done, and that behaves the same in all three of these MD flavors. Mostly just curious why the break from other table formats for colspans.
Thanks!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by fletcher on 08 Jul, 2016 02:35 AM
It's not a question of a difference in interpretation as much as it is that I added features to PHP Markdown Extra's more simplistic table syntax. PHP ME doesn't have a concept of multiple pipes in a row, so they are just empty cells.
GFM came much later, so I can't speak to it.
fletcher closed this discussion on 08 Jul, 2016 02:35 AM.