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

markdown tables are interpreted as text when converting with convert_text #201

Open
enricofer opened this issue Oct 20, 2020 · 0 comments
Open

Comments

@enricofer
Copy link

I'm getting an issue converting markdown containing tables.
If I use convert_text method using markdown string definition, tables are interpreted as text not as table
Otherwise if I write markdown string to file and convert it with convert_file method I get table objects as expected
Issue tested with odt output format

mdstring = """
| a | b | c |
| --- | --- | --- |
| 1 | 2 | 3 |
| 4 | 5 | 6 |
"""
pypandoc.convert_text(md_string, 'odt', format='commonmark',outputfile='tab_ko.odt')

pypandoc.convert_file('tab.md','odt',outputfile='tab_ok.odt')

tab.zip

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

1 participant