chjj/marked — pull request #74 by kitsonk (2012-09-03 16:48:51+00:00)
Title: Adding Support for GFM Tables

Here is a modified pull request that only adds support for tables that are supported (but undocumented) as part of GFM. It is implemented in the same fashion as other GFM features. It appears to be fully compatible with the [Sundown](https://github.com/vmg/sundown) library (which is the markdown parser GFM is based on), though it is strictly based on the [PHP Markdown Extra](http://michelf.ca/projects/php-markdown/extra/) who appears to have introduced the "standard".

The following:
```
Header 1 | Header 2
-------- | --------
Cell 1 | Cell 2
Cell 3 | Cell 4
```

Will render as:

Header 1 | Header 2
-------- | --------
Cell 1 | Cell 2
Cell 3 | Cell 4