ox-hugo
ox-hugo copied to clipboard
feat!: Use semantic HTML <nav> element to wrap table of contents
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 thenav
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 useddiv
. Instead may be add a way to customize the TOC element.