-
Notifications
You must be signed in to change notification settings - Fork 499
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
ADOC Theming Table Header Alignment #1094
Comments
Not via the theme currently. You can do it via the content. See https://asciidoctor.org/docs/user-manual/#cell. We could certainly provide a fallback value named |
...except this is the wrong repository. I'll move the issue to asciidoctor-pdf. |
There we go, now we're in the right place. |
Thanks! I look forward to using this asap. |
Unfortunately, this isn't possible. That's because the document model doesn't know whether the alignment was set explicitly on the cell or is using an inherited or default value. The only way this would work currently is if the theme forced the alignment. And I don't think that's what most users would expect. We'd have to pursue this change upstream in Asciidoctor first in order to support it in Asciidoctor PDF. |
This depends on the following upstream issue: asciidoctor/asciidoctor#3335 |
Is there any way to center the table header text via an ADOC Theme?
Reading the ADOC Theming Guide ( https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#keys-table ) I was disappointed to find out that there's nothing documented on table header text alignment.
The text was updated successfully, but these errors were encountered: