jgm/peg-markdown

Markdown table support

pbek opened this issue · 3 comments

pbek commented

Thank you for this great parser, I'm using it in QOwnNotes!

Are there any plans to support markdown tables like:

| Tables        | Are           | Cool  |
| ------------- |:-------------:| -----:|
| col 3 is      | right-aligned | $1600 |
| col 2 is      | centered      |   $12 |
| zebra stripes | are neat      |    $1 |

Or will there never be support because it's not specified in http://daringfireball.net/projects/markdown?

pbek commented

Meanwhile I created a markdown highlighter for C++ Qt with QSyntaxHighlighter at https://github.com/pbek/qmarkdowntextedit/blob/develop/markdownhighlighter.cpp.

Maybe having a look at (and transitioning to) MultiMarkdown can help? https://github.com/fletcher/peg-multimarkdown

pbek commented

@DivineDominion thank you for mentioning. I currently use my own highlighter.