Showdown: Table Format?

Created on 12 May 2015  路  8Comments  路  Source: showdownjs/showdown

| The | Nice | Table |
| --- | --- | --- |
| This should render | as a table | in html |

| The | Nice | Table |
| ----- | ------ | -------- |
| This should render | as a table | in html |
Invalid

Most helpful comment

For anyone else who, like me, found this issue via Google, showdown now has built-in support for tables, through the tables option:

https://github.com/showdownjs/showdown#valid-options

All 8 comments

@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:

https://github.com/showdownjs/showdown#valid-options

Was this page helpful?
0 / 5 - 0 ratings

Related issues

evanplaice picture evanplaice  路  3Comments

thisconnect picture thisconnect  路  4Comments

jeud picture jeud  路  3Comments

Ehesp picture Ehesp  路  3Comments

xduseko picture xduseko  路  3Comments