QC2168 / vite-plugin-vitepress-auto-sidebar

The vite plugin that automatically generates sidebar data by scanning directories, based on vitepress
MIT License
85 stars 12 forks source link

希望侧边栏的标题支持YAML 格式的 frontmatter,而不是读取markdown中的 # title #33

Closed a1burning closed 1 month ago

a1burning commented 2 months ago

https://vitepress.dev/zh/guide/markdown#frontmatter

如果页面中配置了


title: Less编译 tags:

希望可以从title中读取标题当侧边栏的标题,而不是# title,因为bash中的注释什么的,和这个格式一样。 我使用了插件之后有了莫名其妙的标题。

QC2168 commented 1 month ago

好,我看一下

QC2168 commented 1 month ago

已经添加,请更新1.7.0