We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The AsciiDocTableWriter generates a table header which is not recognized by Asciidoc (but it is by asciidoctor-pdf):
An example of the table definition generated is: [cols="<40,>5, <10, <31, <15, <59" options="header"]
Asciidoc 9.0.0rc1 does not like this:
line 29: illegal style name: cols="<40
This is fixed by separating the 'cols' and the 'options' with a comma, here:
pytablewriter/pytablewriter/writer/text/_asciidoc.py
Line 96 in 29e8e75
rows = [f'[cols="{cols}", options="header"]']
This makes the resulting asciidoc look like this (note the comma before 'options') : [cols="<40,>5, <10, <31, <15, <59", options="header"]
The text was updated successfully, but these errors were encountered:
Fix test cases: #47/#48
2d0aa99
Thank you for your report.
The problem fixed at pytablewriter 0.63.0
pytablewriter 0.63.0
Sorry, something went wrong.
No branches or pull requests
The AsciiDocTableWriter generates a table header which is not recognized by Asciidoc (but it is by asciidoctor-pdf):
An example of the table definition generated is:
[cols="<40,>5, <10, <31, <15, <59" options="header"]
Asciidoc 9.0.0rc1 does not like this:
line 29: illegal style name: cols="<40
This is fixed by separating the 'cols' and the 'options' with a comma, here:
pytablewriter/pytablewriter/writer/text/_asciidoc.py
Line 96 in 29e8e75
This makes the resulting asciidoc look like this (note the comma before 'options') :
[cols="<40,>5, <10, <31, <15, <59", options="header"]
The text was updated successfully, but these errors were encountered: