Markdown自定义布局 #704
-
https://vuepress-theme-hope.github.io/zh/guide/layout/custom/#%E5%B8%83%E5%B1%80%E6%8F%92%E6%A7%BD 咨询一下markdown自定义布局,比如说想用sidebar-top在sidebar最上面插一点东西,这个slot要写在哪个文件 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
你用markdown 的 slot 是只在特定的页面生效,在主题中配置slot为你的自定义组件全局生效。两者互不影响都会插入。 |
Beta Was this translation helpful? Give feedback.
-
😓 这我肯定试过嘛,结果是整个文档都不出来了 |
Beta Was this translation helpful? Give feedback.
-
很抱歉当时忘记跟进了这个问题,目前暂无维护V1主题的打算了,请参加指定讨论。V2是可以正常继承的,欢迎迁移到V2. |
Beta Was this translation helpful? Give feedback.
很抱歉当时忘记跟进了这个问题,目前暂无维护V1主题的打算了,请参加指定讨论。V2是可以正常继承的,欢迎迁移到V2.