Edge case for page/site-nav display of additional content and heading
Please confirm that you have searched existing issues in the repo
Yes, I have searched the existing issues
Any related issues?
No response
Tell us about your environment
Win 11
MarkBind version
5.5.3
Describe the bug and the steps to reproduce it
Header with name 'Page Nav' or 'Site Nav' both get compiled to html with id='page-nav' or id='site-nav'. Specifically, `` gets compiled into <h2 id="page-nav">... </h2>. This causes it to get "pulled-in" to the navigation menus.
- See https://markbind.org/userGuide/components/navigation.html#navbars
- It is expected behavior that the navbar 'pulls in' container elements with HTML
idofsite-navorpage-nav.
However, this is probably unwanted behavior. This causes some styling issues, and also results in these specific headers disppearing when we are using a mobile view.
Also want to ask about the usability of this particular feature
- any content or picture etc. that gets pulled in, not placed in a very intuitive way out of box.
- Only gets pulled in when in mobile view
- Hard to style, can include custom
<style/>, but not very user friendly.
Just for discussion, is there any strong use case for this feature?
It seems like it was the result of the implementation of <site-nav-button> and <page-nav-button> as per https://github.com/MarkBind/markbind/pull/1445
Expected behavior
No response
Anything else?
No response