| The | Nice | Table |
| --- | --- | --- |
| This should render | as a table | in html |
| The | Nice | Table |
| ----- | ------ | -------- |
| This should render | as a table | in html |
It already exists as an extension, see here: https://github.com/showdownjs/showdown/blob/master/src/extensions/table.js
@jcbrand is right. Closing
@johnjelinek do you have suggestion regarding the documentation setup that we could improve in order for people like you to easily spot extensions besides our wiki page
table is a little strange as an extension, isn't it?
@johnjelinek Not at all. This type of table syntax is non-standard. In fact, the original markdown spec does not include tables at all (just through html inclusion). Showdown core library tries to follow this spec as much as possible. This is why tables are provided as an extension, not int he core
oic. I think in terms of docs, I wasn't expecting to search for extensions to find tables.
Where can I get the extension? the follow url is missing now.
https://github.com/showdownjs/showdown/blob/master/src/extensions/table.js~~
OK, I get it. Thx.
https://github.com/showdownjs/table-extension
For anyone else who, like me, found this issue via Google, showdown now has built-in support for tables, through the tables option:
Most helpful comment
For anyone else who, like me, found this issue via Google, showdown now has built-in support for tables, through the
tablesoption:https://github.com/showdownjs/showdown#valid-options