chjj/marked — pull request #70 by kitsonk (2012-08-24 06:33:08+00:00)
Title: Adding Support for PHP Markdown Extra Tables

I had the need for a project I am working on to support [PHP Markdown Extra Tables](http://michelf.ca/projects/php-markdown/extra/#table). I think I have done everything to effectively add that to marked and am providing a patch to add the support if you wish.

The markup syntax is fairly straight forward with two main types:
```
| Header 1 | Header 2 | Header 3 | Header 4 |
| :------: | -------: | :------- | -------- |
| Cell 1 | Cell 2 | Cell 3 | Cell 4 |
| Cell 5 | Cell 6 | Cell 7 | Cell 8 |

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

Which would output the following:

Header 1	Header 2	Header 3	Header 4

Cell 1	Cell 2	Cell 3	Cell 4

Cell 5	Cell 6	Cell 7	Cell 8

Header 1	Header 2

Cell 1	Cell 2

Cell 3	Cell 4

Let me know what you think...