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

Subtitles are not working as expected #699

Open
benlandg opened this issue May 9, 2024 · 1 comment
Open

Subtitles are not working as expected #699

benlandg opened this issue May 9, 2024 · 1 comment

Comments

@benlandg
Copy link

benlandg commented May 9, 2024

Hi, I am using asciidoctor-web-pdf-win-v1.0.0-alpha.16

When publishing a pdf I can't get subititle partitioning working e.g. = Main title: Subtitle. Both main title and subtitle seem to be on the same line and "level". On the same file the subtitle partitioning works for me using regular asciidoctor

@ggrossetie
Copy link
Owner

Are you referring to the default built-in converter?
If so, we can take inspiration from the semantic converter in Asciidoctor:

https:/asciidoctor/asciidoctor/blob/cc337727cfb1479cb2d684f3de5aa38e4ab29ec5/lib/asciidoctor/converter/semantic_html5.rb#L247-L253

And update the built-in converter:

<h1>${node.getDocumentTitle()}</h1>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants