Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table Format? #152

Closed
johnjelinek opened this issue May 12, 2015 · 8 comments
Closed

Table Format? #152

johnjelinek opened this issue May 12, 2015 · 8 comments

Comments

@johnjelinek
Copy link

The Nice Table
This should render as a table in html
| The | Nice | Table |
| ----- | ------ | -------- |
| This should render | as a table | in html |
@jcbrand
Copy link

jcbrand commented May 13, 2015

It already exists as an extension, see here: https://github.com/showdownjs/showdown/blob/master/src/extensions/table.js

@tivie
Copy link
Member

tivie commented May 13, 2015

@jcbrand is right. Closing

@tivie tivie closed this as completed May 13, 2015
@tivie tivie added the Invalid label May 13, 2015
@pdeschen
Copy link
Contributor

@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

@johnjelinek
Copy link
Author

table is a little strange as an extension, isn't it?

@tivie
Copy link
Member

tivie commented May 14, 2015

@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

@johnjelinek
Copy link
Author

oic. I think in terms of docs, I wasn't expecting to search for extensions to find tables.

@8Miles-Mai
Copy link

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

@Zarel
Copy link

Zarel commented Nov 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants