-
Notifications
You must be signed in to change notification settings - Fork 13
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
CSV file containing empty line isn't parsed #13
Comments
Your CSV is invalid. It should be like this:
|
Well, CSV isn't a particularly well-defined format. But every spreadsheet software I know of would parse my csv file as one containing an empty line (in fact, it was generated by google sheets). So I would expect:
Actually, it's not even
I wonder why the filter decides to print the rendered table as markdown wrapped in a paragraph of all things... you wrote earlier "as an intermediate step it pipes the CSV contents through Pandoc's Markdown Reader." I still don't understand that design decision: why not convert the list of lists we got from |
Then this seems like a csv parser issue. The filter uses an external csv parser which implements csv parsing as defined in RFC 4180. |
See my updated message above. Also, I was curious, so I checked out the RFC's BNF grammar. It defines a record as one or more comma-separated fields, and a field as |
Because pandoc tables allow markdown inside their cells. I'll have to see where the filter is going wrong but don't hold your breath in the meantime. I am finalizing my dissertation and it might be a while before I look into it. Also, pull requests are welcomed and appreciated. |
okay :) |
The text was updated successfully, but these errors were encountered: