sharkdp / bat

A cat(1) clone with wings.
Apache License 2.0
49.34k stars 1.25k forks source link

Markdown Tables aren't highlighted #1752

Open SarveshMD opened 3 years ago

SarveshMD commented 3 years ago

Syntax: Markdown Tables Tables are not highlighted in Markdown. I'm not sure if this issue should have syntax-request label or not, but syntax-request seemed more relevant to this issue. Screenshot 2021-07-26 09:52:52 The above image is a table in markdown syntax. The content doesn't matter here, it's just a piece a table converted to markdown from the book, The C Programming Language by Brian Kernighan and Dennis Ritchie. We can see that the markdown table's borders and the actual content is not differentiated. So, highlighting the borders in a different color will make it look better.

keith-hall commented 3 years ago

The Monokai Extended color scheme we are using doesn't assign a color to punctuation.separator.table-cell or punctuation.section.table-header scopes. We can update our patch file to fix this.

ylyhappy-hello commented 1 year ago

how to patch your patch file