-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
AsciiDoc TableOfContents doesn't handle code
properly
#7649
Comments
I just installed v0.75.0/extended and none of my AsciiDoc TOCs are showing up. I use |
@nancym That's because #7099 introduced a breaking change. I'm not a fan of the way things were done there, because it's a breaking change without leaving a flag to fall back on the previous behaviour. At the moment, it's not possible to preserve the ToC generated by Asciidoctor, you'd have to (re-)generate it on the Hugo side with the |
Thank you for #7702 (comment)! Meanwhile I've played around with |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When a title in AsciiDoc contains
`inlined code`
, it doesn't appear in the table of contents and multiple entries are created with the text surrounding it.For example, this AsciiDoc:
Will generate a TOC with two entries pointing to the same place:
(This is handled correctly in Markdown.)
The text was updated successfully, but these errors were encountered: