peg-markdown icon indicating copy to clipboard operation
peg-markdown copied to clipboard

Markdown table support

Open pbek opened this issue 8 years ago • 3 comments

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 avatar Nov 23 '16 16:11 pbek

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

pbek avatar Nov 27 '16 17:11 pbek

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

DivineDominion avatar Jul 31 '17 14:07 DivineDominion

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

pbek avatar Jul 31 '17 14:07 pbek