Skip to content

Conversation

@kaushalmodi
Copy link
Owner

There's a small chance that the user might need to tweak their site
CSS for this change.

  • Do not default to nav element. The TOC looks weird based on how some CSS libraries render the nav tags (see below). It's possible that that's the issue with that CSS library. But it would be good to not break rendering on any sites by leaving the TOC default element to the currently used div. Instead may be add a way to customize the TOC element.

nav elements with nested ul/li elements rendered by mvp.css

image

There's a small chance that the user might need to tweak their site
CSS for this change.
bmackinney pushed a commit to basa-casa/no-class that referenced this pull request Nov 23, 2022
Do not yet use nav elements for TOC because of the issue shown in the
screenshot in kaushalmodi/ox-hugo#614.
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

Successfully merging this pull request may close these issues.

2 participants