Open caisense opened 3 months ago
Markdown file has many level 1 headings, but the final rendered html only generates a first-level title.
use vuepress auto-sidebar in config.js to generate sidebar, just like:
module.exports = { themeConfig: { sidebar: 'auto', ... } }
then use vuepress to compile, the final rendered html only has one first-level title on sidebar.
The final rendered html sidebar has multiple first-level titles.
The final rendered html only has one first-level title on sidebar.
npx vuepress info
Bug report
Markdown file has many level 1 headings, but the final rendered html only generates a first-level title.
Steps to reproduce
use vuepress auto-sidebar in config.js to generate sidebar, just like:
then use vuepress to compile, the final rendered html only has one first-level title on sidebar.
What is expected?
The final rendered html sidebar has multiple first-level titles.
What is actually happening?
The final rendered html only has one first-level title on sidebar.
Other relevant information
npx vuepress info
in my VuePress project: