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

support for table? #71

Open
kurtontheway opened this issue Sep 18, 2018 · 6 comments
Open

support for table? #71

kurtontheway opened this issue Sep 18, 2018 · 6 comments

Comments

@kurtontheway
Copy link

Great Plugin! Any plan to support table like this?

item1 item2 item3
num1 num2 num3
@stevehb
Copy link

stevehb commented Dec 17, 2018

Is there currently any support for tables at all?

@tidepodz
Copy link

I cannot get tables to work either :(. Would be nice if there were.

@jdandrea
Copy link

+1 for table rendering.

I see markdown2.py has table support via GFM and PHP Markdown Extra, but I don't see it rendering.

@ThomasG77
Copy link

ThomasG77 commented May 17, 2021

Did you try to replace in https://github.com/math2001/MarkdownLivePreview/blob/master/markdown2html.py#L20-L22

markdowner = Markdown(extras=["fenced-code-blocks", "cuddled-lists"])

by

markdowner = Markdown(extras=["fenced-code-blocks", "cuddled-lists", "tables"])

If it works, maybe, let users choose in the plugin config what they can load among the extras e.g https://github.com/trentm/python-markdown2/wiki/Extras

@jfcherng
Copy link

jfcherng commented Jun 16, 2021

The answer is fairly simple. ST's minihtml doesn't support <table>. So this is not an issue for this plugin imo.

@khbtechservices
Copy link

Tables work pretty well as far as I can tell, but I experience issues with empty headings; they do not generate an empty cell.

|  | CH 2 | CH 3|
|--|--|--|
|c1| |c3|

The code will produce a table with 2 headings and 3 table cells. It doesn't matter which row the empty heading is in.

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

7 participants