codemirror / codemirror5

In-browser code editor (version 5, legacy)
http://codemirror.net/5/
MIT License
26.81k stars 4.96k forks source link

[gfm] Add support for tables #3532

Open brondsem opened 9 years ago

brondsem commented 9 years ago

GitHub and many other markdown libraries support tables. It'd be nice to have the gfm mode parse it, so that it can be styled. https://help.github.com/articles/github-flavored-markdown/#tables

This may be challenging or impossible to do exactly correctly, until multi-line lookahead is available (#839)

BrianOtto commented 8 years ago

I would like to see this implemented too.

danvim commented 6 years ago

Is this issue going anywhere?

Jakobud commented 5 years ago

Pretty sure Codemirror's GFM renders tables just fine using the GitHub syntax:

| First Header  | Second Header |
| ------------- | ------------- |
| Content Cell  | Content Cell  |
| Content Cell  | Content Cell  |