-
Notifications
You must be signed in to change notification settings - Fork 70
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
not supporting table #7
Comments
I'm using commonmark, which indeed does not support tables. What sort of json output would you expect? I guess... maybe nested arrays? |
Something like this I guess, {[
{"Contest":"A", "Date":"B", "Location":"C"},
{"Contest":"D", "Date":"E", "Location":"F"},
{"Contest":"G", "Date":"H", "Location":"I"}
]} |
That makes sense. But until the commonmark python library supports table syntax we're not gonna be able to do it. |
Actually: This might be a path forward: https://github.com/GovReady/CommonMark-py-Extensions |
Yeah if you want to be strict about Markdown syntax using commonmark, the path is to enable it via extensions. |
njvack here said #11 said it isn't on the road map. markpickle does support that. If that is all you want, then it can be done in a single function: https://stackoverflow.com/questions/66185838/convert-markdown-table-to-json-with-python I'm closing to be consistent with issue 11. |
What are you using a markdown parser?
It seems to be strict markdown without github or gitlab flavor support, table are no supported:
My source is something like that:
The text was updated successfully, but these errors were encountered: