Closed tlienart closed 4 years ago
Not a commonmark requirement since the official spec doesn't make a ruling on tables yet. GFM, which is commonmark with extensions, allows for unaligned columns, but (last I checked), requires \|
for literal pipes, regardless of where in a cell they are. It's possible to fix the parser to handle unaligned and not having the requirement of escaping pipes, but is just a bit tricky to get 100% right, hence I just went with the simple option for now. I'm fine with changing it though, but there's lots of low hanging fruit that's taking priority at the moment.
In the docs you specify that the pipe symbols must be strictly aligned; is this a common mark requirement? would there be any ambiguity if that were relaxed // would it be possible to add a custom rule where this is relaxed?
We use it over in PkgPage and I've had feedback from people that the tables didn't look good which usually was because their
|
were not aligned (I think this is not required in GFM for instance)Thanks!
Edit: maybe to substantiate why this rule seems unnecessarily constraining, consider this case:
That stuff would work fine in GitHub:
1
2