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

TOC in .xhtml has no hierarchal structure (bookmark is flatten). #285

Closed
Norlandz opened this issue Jul 2, 2022 · 1 comment
Closed

Comments

@Norlandz
Copy link

Norlandz commented Jul 2, 2022

The auto generated TOC in .xhtml has no hierarchal structure.
ie: no indentation for different levels of headings.
ie: bookmark is flatten.
However, if I change the file suffix from .xhtml to .html, and open it up, the TOC (bookmark) works fine.

As image shows

Is .xhtml not supported?


Duplicate of #239

@Norlandz Norlandz closed this as completed Jul 2, 2022
@Norlandz
Copy link
Author

Norlandz commented Jul 4, 2022

(This is fixed in newer release v4.13.3, currently newest is in https://www.npmjs.com/package/tocbot/v/4.18.2 )

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

No branches or pull requests

1 participant