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

Add a way for the TOC to use draw non-header IDs #20

Open
briandominick opened this issue May 22, 2021 · 0 comments
Open

Add a way for the TOC to use draw non-header IDs #20

briandominick opened this issue May 22, 2021 · 0 comments
Labels
Asciidoctor Involves working heavily with or extending Asciidoctor tools enhancement New feature or request JavaScript Involves some JS struggles

Comments

@briandominick
Copy link
Contributor

It would be handy to have objects in a reference load in the page-nav's TOC, even if they don't have their own headers, which most will not.

The solution here could possibly include adding hidden headers, though that's not perfectly elegant.

What I'm thinking is if you have a DL reference, for instance...

[#setting-a.toc-add]
setting-a:: Here is the definition of setting-a.

[#setting-b.toc-add]
setting-b:: Here is the definition of setting-b.
@briandominick briandominick added enhancement New feature or request JavaScript Involves some JS struggles Asciidoctor Involves working heavily with or extending Asciidoctor tools labels May 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Asciidoctor Involves working heavily with or extending Asciidoctor tools enhancement New feature or request JavaScript Involves some JS struggles
Projects
None yet
Development

No branches or pull requests

1 participant