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

Missing toc-title attribute in org.asciidoctor.Attributes #1131

Closed
eastack opened this issue Nov 18, 2022 · 2 comments
Closed

Missing toc-title attribute in org.asciidoctor.Attributes #1131

eastack opened this issue Nov 18, 2022 · 2 comments
Labels

Comments

@eastack
Copy link

eastack commented Nov 18, 2022

There is no toc-title attribute in org.asciidoctor.Attributes. How should I set this attribute? Other methods using map configuration are already deprecated.

@abelsromero
Copy link
Member

abelsromero commented Nov 18, 2022

You can use attribute from the builder

public AttributesBuilder attribute(String attributeName, Object attributeValue) {

or

public void setAttribute(String attributeName, Object attributeValue) {
from Attribute

@eastack
Copy link
Author

eastack commented Nov 19, 2022

Thank you so much for your help!

@eastack eastack closed this as completed Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants