-
Notifications
You must be signed in to change notification settings - Fork 862
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
No table support? #1455
Comments
You need to use the table extension: https://python-markdown.github.io/extensions/tables/#usage |
Ah thanks. Why is this an extension? Technically what is it? Another module (py-file) imported? Why is it separated. Is there an in-between format while converting? I don't need HTML but the structure. |
Python Markdown is an old-school Markdown parser (not CommonMark) based on the original spec. Tables were not included in the original spec, probably because they are clunky, even with such an extension (that is my speculation). It was provided as an extension though. It has become pretty ubiquitous in modern Markdown implementations, but originally, it was an extension and remains so in this library. |
Do you see away to get the "in-between format" of a table after parsing it? I need to separate the parsing and the conversion into HTML. |
What "in-between format" are you talking about? What format do you think you are trying to get? I'm not sure what you are doing specifically, but I suspect it extends past the scope of what Python Markdown intends to offer. |
For example a two-dimensional array with all cells. Thanks in advance |
It doesn't have that. If you want that, you'd have to fork the table extension as is and modify it to do what you want it to do. Python Markdown's goal is to convert that syntax to HTML, and that is what it does. |
I will consider this. Of course will all respect to your work and your license. |
Is my diagnosis correct that your package do not support markdown tables?
The text was updated successfully, but these errors were encountered: