vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.17k stars 923 forks source link

[Bug report] #1276

Closed Wangxingyin closed 1 year ago

Wangxingyin commented 1 year ago

Description

Xnip2023-03-08_23-01-23 [[toc]] not working, I konw nothing about it ,

Reproduction

2.0.0-beta.61

Used Package Manager

npm

System Info

"vuepress": "2.0.0-beta.61",
github-actions[bot] commented 1 year ago

Hello @Wangxingyin. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction will be closed if they have no activity within 7 days.

Wangxingyin commented 1 year ago

I just use the original version, input [[toc]] without any configuration, the right bracket prompts red, and the output is blank

Wangxingyin commented 1 year ago

我看到管理员您是中国人、我没有配置任何内容的情况下.单纯用[[toc]] 右边括号为红色.我不知道怎么检查到底是哪里的问题

Mister-Hope commented 1 year ago

[[toc]] is not a standard common mark syntax.

Wangxingyin commented 1 year ago

文章中对于如何使用[[toc]] 并没有说明需要单独安装配置 vuepress2 如果需要单独配置用[[toc]] 才能使用, 希望把文章内容更新清楚一点

Wangxingyin commented 1 year ago

如何才能使用[[toc]] 我真的看了好久 都没有看懂 我直接输入[[toc]] 又没有效果.真的怀疑人生

Wangxingyin commented 1 year ago
image

[[toc]]最右边括号显示红色、再就是渲染页面也没有效果

Wangxingyin commented 1 year ago

[[toc]] The rightmost brackets are displayed in red, and rendering the page has no effect

Mister-Hope commented 1 year ago

Hello @Wangxingyin. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction will be closed if they have no activity within 7 days.

看不懂是么

meteorlxy commented 1 year ago

@Wangxingyin 一级标题是作为页面标题出现的,通常每页只会在最开头有一个,默认不会在目录里面展示

meteorlxy commented 1 year ago

有问题可以在 Discussion 中提问