create-vuepress-theme-hope 2.0.0-beta.149 → 2.0.0-beta.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/template/blog/.vuepress/navbar/en.ts +1 -1
- package/template/blog/.vuepress/navbar/zh.ts +1 -1
- package/template/blog/README.md +1 -1
- package/template/blog/demo/markdown.md +25 -25
- package/template/blog/demo/page.md +8 -8
- package/template/blog/zh/README.md +1 -1
- package/template/blog/zh/demo/markdown.md +24 -24
- package/template/blog/zh/demo/page.md +8 -8
- package/template/docs/.vuepress/navbar/en.ts +1 -1
- package/template/docs/.vuepress/navbar/zh.ts +1 -1
- package/template/docs/README.md +19 -19
- package/template/docs/demo/markdown.md +25 -25
- package/template/docs/demo/page.md +8 -8
- package/template/docs/zh/README.md +19 -19
- package/template/docs/zh/demo/markdown.md +24 -24
- package/template/docs/zh/demo/page.md +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuepress-theme-hope",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.150",
|
|
4
4
|
"description": "Create vuepress-theme-hope demo project helper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"create",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"vuepress-theme",
|
|
10
10
|
"vuepress-theme-hope"
|
|
11
11
|
],
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://theme-hope.vuejs.vuepress/",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/vuepress-theme-hope/vuepress-theme-hope/issues"
|
|
15
15
|
},
|
package/template/blog/README.md
CHANGED
|
@@ -45,4 +45,4 @@ This is a blog home page demo.
|
|
|
45
45
|
|
|
46
46
|
To use this layout, you should set both `layout: BlogHome` and `home: true` in the page front matter.
|
|
47
47
|
|
|
48
|
-
For related configuration docs, please see [blog homepage](https://
|
|
48
|
+
For related configuration docs, please see [blog homepage](https://theme-hope.vuejs.vuepress/guide/blog/home/).
|
|
@@ -16,7 +16,7 @@ You should create and write Markdown files, so that VuePress can convert them to
|
|
|
16
16
|
|
|
17
17
|
## Markdown Introduction
|
|
18
18
|
|
|
19
|
-
If you are a new learner and don’t know how to write Markdown, please read [Markdown Intro](https://
|
|
19
|
+
If you are a new learner and don’t know how to write Markdown, please read [Markdown Intro](https://theme-hope.vuejs.press/cookbook/markdown/) and [Markdown Demo](https://theme-hope.vuejs.press/cookbook/markdown/demo.html).
|
|
20
20
|
|
|
21
21
|
## Markdown Config
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ VuePress introduce configuration for each Markdown page using Frontmatter.
|
|
|
24
24
|
|
|
25
25
|
::: info
|
|
26
26
|
|
|
27
|
-
Frontmatter is a important concept in VuePress. If you don’t know it, you need to read [Frontmatter Introduction](https://
|
|
27
|
+
Frontmatter is a important concept in VuePress. If you don’t know it, you need to read [Frontmatter Introduction](https://theme-hope.vuejs.press/cookbook/vuepress/page.html#front-matter).
|
|
28
28
|
|
|
29
29
|
:::
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ The Markdown content in VuePress will be parsed by [markdown-it](https://github.
|
|
|
36
36
|
|
|
37
37
|
To enrich document writing, VuePress has extended Markdown syntax.
|
|
38
38
|
|
|
39
|
-
For these extensions, please read [Markdown extensions in VuePress](https://
|
|
39
|
+
For these extensions, please read [Markdown extensions in VuePress](https://theme-hope.vuejs.press/basic/vuepress/markdown.html).
|
|
40
40
|
|
|
41
41
|
### Theme Enhancement
|
|
42
42
|
|
|
@@ -84,7 +84,7 @@ A custom details container
|
|
|
84
84
|
|
|
85
85
|
:::
|
|
86
86
|
|
|
87
|
-
- [View Detail](https://
|
|
87
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/container.html)
|
|
88
88
|
|
|
89
89
|
#### Tabs
|
|
90
90
|
|
|
@@ -104,7 +104,7 @@ Orange
|
|
|
104
104
|
|
|
105
105
|
:::
|
|
106
106
|
|
|
107
|
-
- [View Detail](https://
|
|
107
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/tabs.html)
|
|
108
108
|
|
|
109
109
|
#### Code Tabs
|
|
110
110
|
|
|
@@ -130,13 +130,13 @@ npm i -D vuepress-theme-hope
|
|
|
130
130
|
|
|
131
131
|
:::
|
|
132
132
|
|
|
133
|
-
- [View Detail](https://
|
|
133
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/code-tabs.html)
|
|
134
134
|
|
|
135
135
|
#### Superscript and Subscript
|
|
136
136
|
|
|
137
137
|
19^th^ H~2~O
|
|
138
138
|
|
|
139
|
-
- [View Detail](https://
|
|
139
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/sup-sub.html)
|
|
140
140
|
|
|
141
141
|
#### Align
|
|
142
142
|
|
|
@@ -152,13 +152,13 @@ I am right align
|
|
|
152
152
|
|
|
153
153
|
:::
|
|
154
154
|
|
|
155
|
-
- [View Detail](https://
|
|
155
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/align.html)
|
|
156
156
|
|
|
157
157
|
#### Attrs
|
|
158
158
|
|
|
159
159
|
A **word**{#word} having id.
|
|
160
160
|
|
|
161
|
-
- [View Detail](https://
|
|
161
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/attrs.html)
|
|
162
162
|
|
|
163
163
|
#### Footnote
|
|
164
164
|
|
|
@@ -166,26 +166,26 @@ This text has footnote[^first].
|
|
|
166
166
|
|
|
167
167
|
[^first]: This is footnote content
|
|
168
168
|
|
|
169
|
-
- [View Detail](https://
|
|
169
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/footnote.html)
|
|
170
170
|
|
|
171
171
|
#### Mark
|
|
172
172
|
|
|
173
173
|
You can mark ==important words== .
|
|
174
174
|
|
|
175
|
-
- [View Detail](https://
|
|
175
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/mark.html)
|
|
176
176
|
|
|
177
177
|
#### Tasklist
|
|
178
178
|
|
|
179
179
|
- [x] Plan A
|
|
180
180
|
- [ ] Plan B
|
|
181
181
|
|
|
182
|
-
- [View Detail](https://
|
|
182
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/tasklist.html)
|
|
183
183
|
|
|
184
184
|
#### Image Enhancement
|
|
185
185
|
|
|
186
186
|
Support setting color scheme and size
|
|
187
187
|
|
|
188
|
-
- [View Detail](https://
|
|
188
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/image.html)
|
|
189
189
|
|
|
190
190
|
#### Chart
|
|
191
191
|
|
|
@@ -221,7 +221,7 @@ Support setting color scheme and size
|
|
|
221
221
|
|
|
222
222
|
:::
|
|
223
223
|
|
|
224
|
-
- [View Detail](https://
|
|
224
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/chart.html)
|
|
225
225
|
|
|
226
226
|
#### Echarts
|
|
227
227
|
|
|
@@ -247,7 +247,7 @@ Support setting color scheme and size
|
|
|
247
247
|
|
|
248
248
|
:::
|
|
249
249
|
|
|
250
|
-
- [View Detail](https://
|
|
250
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/echarts.html)
|
|
251
251
|
|
|
252
252
|
#### Flowchart
|
|
253
253
|
|
|
@@ -260,7 +260,7 @@ cond(yes)->process->e
|
|
|
260
260
|
cond(no)->e
|
|
261
261
|
```
|
|
262
262
|
|
|
263
|
-
- [View Detail](https://
|
|
263
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/flowchart.html)
|
|
264
264
|
|
|
265
265
|
#### Mermaid
|
|
266
266
|
|
|
@@ -281,7 +281,7 @@ flowchart TB
|
|
|
281
281
|
two --> c2
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
- [View Detail](https://
|
|
284
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/mermaid.html)
|
|
285
285
|
|
|
286
286
|
#### Tex
|
|
287
287
|
|
|
@@ -290,13 +290,13 @@ $$
|
|
|
290
290
|
= \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^i r \cdots (r-i+1) (\log y)^{r-i}} {\omega^i} \right\}
|
|
291
291
|
$$
|
|
292
292
|
|
|
293
|
-
- [View Detail](https://
|
|
293
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/tex.html)
|
|
294
294
|
|
|
295
295
|
#### Include files
|
|
296
296
|
|
|
297
297
|
@include(./README.md{11-17})
|
|
298
298
|
|
|
299
|
-
- [View Detail](https://
|
|
299
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/include.html)
|
|
300
300
|
|
|
301
301
|
#### Code Demo
|
|
302
302
|
|
|
@@ -321,13 +321,13 @@ span {
|
|
|
321
321
|
|
|
322
322
|
:::
|
|
323
323
|
|
|
324
|
-
- [View Detail](https://
|
|
324
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/demo.html)
|
|
325
325
|
|
|
326
326
|
#### Stylize
|
|
327
327
|
|
|
328
328
|
Donate Mr.Hope a cup of coffee. _Recommended_
|
|
329
329
|
|
|
330
|
-
- [View Detail](https://
|
|
330
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/stylize.html)
|
|
331
331
|
|
|
332
332
|
#### Playground
|
|
333
333
|
|
|
@@ -345,7 +345,7 @@ speak(msg);
|
|
|
345
345
|
|
|
346
346
|
:::
|
|
347
347
|
|
|
348
|
-
- [View Detail](https://
|
|
348
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/playground.html)
|
|
349
349
|
|
|
350
350
|
#### Vue Playground
|
|
351
351
|
|
|
@@ -368,7 +368,7 @@ const msg = ref("Hello World!");
|
|
|
368
368
|
|
|
369
369
|
:::
|
|
370
370
|
|
|
371
|
-
- [View Detail](https://
|
|
371
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/vue-playground.html)
|
|
372
372
|
|
|
373
373
|
#### Presentation
|
|
374
374
|
|
|
@@ -403,6 +403,6 @@ $$
|
|
|
403
403
|
|
|
404
404
|
@slideend
|
|
405
405
|
|
|
406
|
-
- [View Detail](https://
|
|
406
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/presentation.html)
|
|
407
407
|
|
|
408
|
-
[md-enhance]: https://
|
|
408
|
+
[md-enhance]: https://md-enhance.vuejs.press/
|
|
@@ -59,14 +59,14 @@ The theme contains a custom badge:
|
|
|
59
59
|
|
|
60
60
|
This page should contain:
|
|
61
61
|
|
|
62
|
-
- [BreadCrumb](https://
|
|
63
|
-
- [Title and information](https://
|
|
64
|
-
- [TOC (Table of Contents)](https://
|
|
65
|
-
- [Meta information including update time and contributors](https://
|
|
66
|
-
- [Comments](https://
|
|
67
|
-
- [Navbar](https://
|
|
68
|
-
- [Sidebar](https://
|
|
69
|
-
- [Footer](https://
|
|
62
|
+
- [BreadCrumb](https://theme-hope.vuejs.press/guide/layout/breadcrumb.html)
|
|
63
|
+
- [Title and information](https://theme-hope.vuejs.press/guide/feature/page-info.html)
|
|
64
|
+
- [TOC (Table of Contents)](https://theme-hope.vuejs.press/guide/layout/page.html#header-list)
|
|
65
|
+
- [Meta information including update time and contributors](https://theme-hope.vuejs.press/guide/feature/meta.html)
|
|
66
|
+
- [Comments](https://theme-hope.vuejs.press/guide/feature/comment.html)
|
|
67
|
+
- [Navbar](https://theme-hope.vuejs.press/guide/layout/navbar.html)
|
|
68
|
+
- [Sidebar](https://theme-hope.vuejs.press/guide/layout/sidebar.html)
|
|
69
|
+
- [Footer](https://theme-hope.vuejs.press/guide/layout/footer.html)
|
|
70
70
|
- Back to top button
|
|
71
71
|
|
|
72
72
|
You can customize them in theme options and page frontmatter.
|
|
@@ -16,7 +16,7 @@ VuePress 主要从 Markdown 文件生成页面。因此,你可以使用它轻
|
|
|
16
16
|
|
|
17
17
|
## Markdown 介绍
|
|
18
18
|
|
|
19
|
-
如果你是一个新手,还不会编写 Markdown,请先阅读 [Markdown 介绍](https://
|
|
19
|
+
如果你是一个新手,还不会编写 Markdown,请先阅读 [Markdown 介绍](https://theme-hope.vuejs.press/zh/cookbook/markdown/) 和 [Markdown 演示](https://theme-hope.vuejs.press/zh/cookbook/markdown/demo.html)。
|
|
20
20
|
|
|
21
21
|
## Markdown 配置
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ VuePress 通过 Frontmatter 为每个 Markdown 页面引入配置。
|
|
|
24
24
|
|
|
25
25
|
::: info
|
|
26
26
|
|
|
27
|
-
Frontmatter 是 VuePress 中很重要的一个概念,如果你不了解它,你需要阅读 [Frontmatter 介绍](https://
|
|
27
|
+
Frontmatter 是 VuePress 中很重要的一个概念,如果你不了解它,你需要阅读 [Frontmatter 介绍](https://theme-hope.vuejs.press/zh/cookbook/vuepress/page.html#front-matter)。
|
|
28
28
|
|
|
29
29
|
:::
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ VuePress 会使用 [markdown-it](https://github.com/markdown-it/markdown-it) 来
|
|
|
36
36
|
|
|
37
37
|
为了丰富文档写作,VuePress 对 Markdown 语法进行了扩展。
|
|
38
38
|
|
|
39
|
-
关于这些扩展,请阅读 [VuePress 中的 Markdown 扩展](https://
|
|
39
|
+
关于这些扩展,请阅读 [VuePress 中的 Markdown 扩展](https://theme-hope.vuejs.press/zh/cookbook/vuepress/markdown.html)。
|
|
40
40
|
|
|
41
41
|
### 主题扩展
|
|
42
42
|
|
|
@@ -84,7 +84,7 @@ const a = 1;
|
|
|
84
84
|
|
|
85
85
|
:::
|
|
86
86
|
|
|
87
|
-
- [查看详情](https://
|
|
87
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/container.html)
|
|
88
88
|
|
|
89
89
|
#### 代码块
|
|
90
90
|
|
|
@@ -110,13 +110,13 @@ npm i -D vuepress-theme-hope
|
|
|
110
110
|
|
|
111
111
|
:::
|
|
112
112
|
|
|
113
|
-
- [查看详情](https://
|
|
113
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/code-tabs.html)
|
|
114
114
|
|
|
115
115
|
#### 上下角标
|
|
116
116
|
|
|
117
117
|
19^th^ H~2~O
|
|
118
118
|
|
|
119
|
-
- [查看详情](https://
|
|
119
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/sup-sub.html)
|
|
120
120
|
|
|
121
121
|
#### 自定义对齐
|
|
122
122
|
|
|
@@ -132,13 +132,13 @@ npm i -D vuepress-theme-hope
|
|
|
132
132
|
|
|
133
133
|
:::
|
|
134
134
|
|
|
135
|
-
- [查看详情](https://
|
|
135
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/align.html)
|
|
136
136
|
|
|
137
137
|
#### Attrs
|
|
138
138
|
|
|
139
139
|
一个拥有 ID 的 **单次**{#word}。
|
|
140
140
|
|
|
141
|
-
- [查看详情](https://
|
|
141
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/attrs.html)
|
|
142
142
|
|
|
143
143
|
#### 脚注
|
|
144
144
|
|
|
@@ -146,26 +146,26 @@ npm i -D vuepress-theme-hope
|
|
|
146
146
|
|
|
147
147
|
[^first]: 这是脚注内容
|
|
148
148
|
|
|
149
|
-
- [查看详情](https://
|
|
149
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/footnote.html)
|
|
150
150
|
|
|
151
151
|
#### 标记
|
|
152
152
|
|
|
153
153
|
你可以标记 ==重要的内容== 。
|
|
154
154
|
|
|
155
|
-
- [查看详情](https://
|
|
155
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/mark.html)
|
|
156
156
|
|
|
157
157
|
#### 任务列表
|
|
158
158
|
|
|
159
159
|
- [x] 计划 1
|
|
160
160
|
- [ ] 计划 2
|
|
161
161
|
|
|
162
|
-
- [查看详情](https://
|
|
162
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/tasklist.html)
|
|
163
163
|
|
|
164
164
|
### 图片增强
|
|
165
165
|
|
|
166
166
|
支持为图片设置颜色模式和大小
|
|
167
167
|
|
|
168
|
-
- [查看详情](https://
|
|
168
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/image.html)
|
|
169
169
|
|
|
170
170
|
#### 图表
|
|
171
171
|
|
|
@@ -201,7 +201,7 @@ npm i -D vuepress-theme-hope
|
|
|
201
201
|
|
|
202
202
|
:::
|
|
203
203
|
|
|
204
|
-
- [查看详情](https://
|
|
204
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/chart.html)
|
|
205
205
|
|
|
206
206
|
#### Echarts
|
|
207
207
|
|
|
@@ -227,7 +227,7 @@ npm i -D vuepress-theme-hope
|
|
|
227
227
|
|
|
228
228
|
:::
|
|
229
229
|
|
|
230
|
-
- [查看详情](https://
|
|
230
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/echarts.html)
|
|
231
231
|
|
|
232
232
|
#### 流程图
|
|
233
233
|
|
|
@@ -240,7 +240,7 @@ cond(yes)->process->e
|
|
|
240
240
|
cond(no)->e
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
- [查看详情](https://
|
|
243
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/flowchart.html)
|
|
244
244
|
|
|
245
245
|
#### Mermaid
|
|
246
246
|
|
|
@@ -261,7 +261,7 @@ flowchart TB
|
|
|
261
261
|
two --> c2
|
|
262
262
|
```
|
|
263
263
|
|
|
264
|
-
- [查看详情](https://
|
|
264
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/mermaid.html)
|
|
265
265
|
|
|
266
266
|
#### Tex 语法
|
|
267
267
|
|
|
@@ -270,13 +270,13 @@ $$
|
|
|
270
270
|
= \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^i r \cdots (r-i+1) (\log y)^{r-i}} {\omega^i} \right\}
|
|
271
271
|
$$
|
|
272
272
|
|
|
273
|
-
- [查看详情](https://
|
|
273
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/tex.html)
|
|
274
274
|
|
|
275
275
|
#### 导入文件
|
|
276
276
|
|
|
277
277
|
@include(./README.md{11-17})
|
|
278
278
|
|
|
279
|
-
- [查看详情](https://
|
|
279
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/include.html)
|
|
280
280
|
|
|
281
281
|
#### 代码演示
|
|
282
282
|
|
|
@@ -301,13 +301,13 @@ span {
|
|
|
301
301
|
|
|
302
302
|
:::
|
|
303
303
|
|
|
304
|
-
- [查看详情](https://
|
|
304
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/demo.html)
|
|
305
305
|
|
|
306
306
|
#### 样式化
|
|
307
307
|
|
|
308
308
|
向 Mr.Hope 捐赠一杯咖啡。 _Recommended_
|
|
309
309
|
|
|
310
|
-
- [查看详情](https://
|
|
310
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/stylize.html)
|
|
311
311
|
|
|
312
312
|
#### 交互演示
|
|
313
313
|
|
|
@@ -325,7 +325,7 @@ speak(msg);
|
|
|
325
325
|
|
|
326
326
|
:::
|
|
327
327
|
|
|
328
|
-
- [查看详情](https://
|
|
328
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/playground.html)
|
|
329
329
|
|
|
330
330
|
#### Vue 交互演示
|
|
331
331
|
|
|
@@ -348,7 +348,7 @@ const msg = ref("Hello World!");
|
|
|
348
348
|
|
|
349
349
|
:::
|
|
350
350
|
|
|
351
|
-
- [查看详情](https://
|
|
351
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/vue-playground.html)
|
|
352
352
|
|
|
353
353
|
#### 幻灯片
|
|
354
354
|
|
|
@@ -383,6 +383,6 @@ $$
|
|
|
383
383
|
|
|
384
384
|
@slideend
|
|
385
385
|
|
|
386
|
-
- [查看详情](https://
|
|
386
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/presentation.html)
|
|
387
387
|
|
|
388
|
-
[md-enhance]: https://
|
|
388
|
+
[md-enhance]: https://md-enhance.vuejs.press/zh/
|
|
@@ -59,14 +59,14 @@ copyright: 无版权
|
|
|
59
59
|
|
|
60
60
|
此页面应当包含:
|
|
61
61
|
|
|
62
|
-
- [路径导航](https://
|
|
63
|
-
- [标题和页面信息](https://
|
|
64
|
-
- [TOC (文章标题列表)](https://
|
|
65
|
-
- [贡献者、更新时间等页面元信息](https://
|
|
66
|
-
- [评论](https://
|
|
67
|
-
- [导航栏](https://
|
|
68
|
-
- [侧边栏](https://
|
|
69
|
-
- [页脚](https://
|
|
62
|
+
- [路径导航](https://theme-hope.vuejs.press/zh/guide/layout/breadcrumb.html)
|
|
63
|
+
- [标题和页面信息](https://theme-hope.vuejs.press/zh/guide/feature/page-info.html)
|
|
64
|
+
- [TOC (文章标题列表)](https://theme-hope.vuejs.press/zh/guide/layout/page.html#标题列表)
|
|
65
|
+
- [贡献者、更新时间等页面元信息](https://theme-hope.vuejs.press/guide/feature/meta.html)
|
|
66
|
+
- [评论](https://theme-hope.vuejs.press/zh/guide/feature/comment.html)
|
|
67
|
+
- [导航栏](https://theme-hope.vuejs.press/zh/guide/layout/navbar.html)
|
|
68
|
+
- [侧边栏](https://theme-hope.vuejs.press/zh/guide/layout/sidebar.html)
|
|
69
|
+
- [页脚](https://theme-hope.vuejs.press/zh/guide/layout/footer.html)
|
|
70
70
|
- 返回顶部按钮
|
|
71
71
|
|
|
72
72
|
你可以通过主题选项和页面 Frontmatter 自定义它们。
|
package/template/docs/README.md
CHANGED
|
@@ -17,94 +17,94 @@ features:
|
|
|
17
17
|
- title: Markdown Enhance
|
|
18
18
|
icon: markdown
|
|
19
19
|
details: Add align, sup/sub script, footnote, tasklist, tex, flowchart, diagram, mark and presentation support in markdown
|
|
20
|
-
link: https://
|
|
20
|
+
link: https://theme-hope.vuejs.press/guide/markdown/
|
|
21
21
|
|
|
22
22
|
- title: Slide page
|
|
23
23
|
icon: slides
|
|
24
24
|
details: Adding slide pages to display things you like
|
|
25
|
-
link: https://
|
|
25
|
+
link: https://theme-hope.vuejs.press/guide/layout/slides.html
|
|
26
26
|
|
|
27
27
|
- title: Layout enhancement
|
|
28
28
|
icon: layout
|
|
29
29
|
details: Adding breadcrumb, footer, improved navbar, improved page nav and etc.
|
|
30
|
-
link: https://
|
|
30
|
+
link: https://theme-hope.vuejs.press/guide/layout/
|
|
31
31
|
|
|
32
32
|
- title: Pageviews and comments
|
|
33
33
|
icon: comment
|
|
34
34
|
details: Start pageview statistics and comment support with Waline
|
|
35
|
-
link: https://
|
|
35
|
+
link: https://theme-hope.vuejs.press/guide/feature/comment.html
|
|
36
36
|
|
|
37
37
|
- title: Article information
|
|
38
38
|
icon: info
|
|
39
39
|
details: Add author, writing date, reading time, word count and other information to your article
|
|
40
|
-
link: https://
|
|
40
|
+
link: https://theme-hope.vuejs.press/guide/feature/page-info.html
|
|
41
41
|
|
|
42
42
|
- title: Blog support
|
|
43
43
|
icon: blog
|
|
44
44
|
details: Listing your articles with their dates, tags and categories with some awesome layouts
|
|
45
|
-
link: https://
|
|
45
|
+
link: https://theme-hope.vuejs.press/guide/blog/
|
|
46
46
|
|
|
47
47
|
- title: Custom theme color
|
|
48
48
|
icon: palette
|
|
49
49
|
details: Supports custom theme colors and allows users to switch between preset theme colors
|
|
50
|
-
link: https://
|
|
50
|
+
link: https://theme-hope.vuejs.press/guide/interface/theme-color.html
|
|
51
51
|
|
|
52
52
|
- title: Dark Mode
|
|
53
53
|
icon: contrast
|
|
54
54
|
details: Switch between light and dark modes freely
|
|
55
|
-
link: https://
|
|
55
|
+
link: https://theme-hope.vuejs.press/guide/interface/darkmode.html
|
|
56
56
|
|
|
57
57
|
- title: Full A11y support
|
|
58
58
|
icon: support
|
|
59
59
|
details: Full support of accessibility in your site
|
|
60
|
-
link: https://
|
|
60
|
+
link: https://theme-hope.vuejs.press/guide/interface/accessibility.html
|
|
61
61
|
|
|
62
62
|
- title: Article Encryption
|
|
63
63
|
icon: lock
|
|
64
64
|
details: Encrypt you articles based on page links, so that only the one you want could see them
|
|
65
|
-
link: https://
|
|
65
|
+
link: https://theme-hope.vuejs.press/guide/feature/encrypt.html
|
|
66
66
|
|
|
67
67
|
- title: Copy button
|
|
68
68
|
icon: copy
|
|
69
69
|
details: Copy codes with one click in code blocks
|
|
70
|
-
link: https://
|
|
70
|
+
link: https://theme-hope.vuejs.press/guide/feature/copy-code.html
|
|
71
71
|
|
|
72
72
|
- title: Image preview
|
|
73
73
|
icon: pic
|
|
74
74
|
details: Support viewing, zooming, sharing your page images like a gallery
|
|
75
|
-
link: https://
|
|
75
|
+
link: https://theme-hope.vuejs.press/guide/feature/photo-swipe.html
|
|
76
76
|
|
|
77
77
|
- title: SEO enhancement
|
|
78
78
|
icon: config
|
|
79
79
|
details: Optimize pages for search engines
|
|
80
|
-
link: https://
|
|
80
|
+
link: https://theme-hope.vuejs.press/guide/advanced/seo.html
|
|
81
81
|
|
|
82
82
|
- title: Sitemap
|
|
83
83
|
icon: sitemap
|
|
84
84
|
details: Generate a Sitemap for your site
|
|
85
|
-
link: https://
|
|
85
|
+
link: https://theme-hope.vuejs.press/guide/advanced/sitemap.html
|
|
86
86
|
|
|
87
87
|
- title: Feed support
|
|
88
88
|
icon: rss
|
|
89
89
|
details: Generate feed to allow users to subscribe it
|
|
90
|
-
link: https://
|
|
90
|
+
link: https://theme-hope.vuejs.press/guide/advanced/feed.html
|
|
91
91
|
|
|
92
92
|
- title: PWA support
|
|
93
93
|
icon: mobile
|
|
94
94
|
details: Make your site more like an APP
|
|
95
|
-
link: https://
|
|
95
|
+
link: https://theme-hope.vuejs.press/guide/advanced/pwa.html
|
|
96
96
|
|
|
97
97
|
- title: More new features
|
|
98
98
|
icon: more
|
|
99
99
|
details: Including icon support, fullscreen button, etc.
|
|
100
|
-
link: https://
|
|
100
|
+
link: https://theme-hope.vuejs.press/guide/feature/
|
|
101
101
|
|
|
102
102
|
copyright: false
|
|
103
|
-
footer: Theme by <a href="https://
|
|
103
|
+
footer: Theme by <a href="https://theme-hope.vuejs.press/" target="_blank">VuePress Theme Hope</a> | MIT Licensed, Copyright © 2019-present Mr.Hope
|
|
104
104
|
---
|
|
105
105
|
|
|
106
106
|
This is an example of a project homepage. You can place your main content here.
|
|
107
107
|
|
|
108
108
|
To use this layout, you need to set `home: true` in the page front matter.
|
|
109
109
|
|
|
110
|
-
For related descriptions of configuration items, please see [Project HomePage Layout Config](https://
|
|
110
|
+
For related descriptions of configuration items, please see [Project HomePage Layout Config](https://theme-hope.vuejs.press/guide/layout/home/).
|
|
@@ -16,7 +16,7 @@ You should create and write Markdown files, so that VuePress can convert them to
|
|
|
16
16
|
|
|
17
17
|
## Markdown Introduction
|
|
18
18
|
|
|
19
|
-
If you are a new learner and don’t know how to write Markdown, please read [Markdown Intro](https://
|
|
19
|
+
If you are a new learner and don’t know how to write Markdown, please read [Markdown Intro](https://theme-hope.vuejs.press/cookbook/markdown/) and [Markdown Demo](https://theme-hope.vuejs.press/cookbook/markdown/demo.html).
|
|
20
20
|
|
|
21
21
|
## Markdown Config
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ VuePress introduce configuration for each Markdown page using Frontmatter.
|
|
|
24
24
|
|
|
25
25
|
::: info
|
|
26
26
|
|
|
27
|
-
Frontmatter is a important concept in VuePress. If you don’t know it, you need to read [Frontmatter Introduction](https://
|
|
27
|
+
Frontmatter is a important concept in VuePress. If you don’t know it, you need to read [Frontmatter Introduction](https://theme-hope.vuejs.press/cookbook/vuepress/page.html#front-matter).
|
|
28
28
|
|
|
29
29
|
:::
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ The Markdown content in VuePress will be parsed by [markdown-it](https://github.
|
|
|
36
36
|
|
|
37
37
|
To enrich document writing, VuePress has extended Markdown syntax.
|
|
38
38
|
|
|
39
|
-
For these extensions, please read [Markdown extensions in VuePress](https://
|
|
39
|
+
For these extensions, please read [Markdown extensions in VuePress](https://theme-hope.vuejs.press/basic/vuepress/markdown.html).
|
|
40
40
|
|
|
41
41
|
### Theme Enhancement
|
|
42
42
|
|
|
@@ -84,7 +84,7 @@ A custom details container
|
|
|
84
84
|
|
|
85
85
|
:::
|
|
86
86
|
|
|
87
|
-
- [View Detail](https://
|
|
87
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/container.html)
|
|
88
88
|
|
|
89
89
|
#### Tabs
|
|
90
90
|
|
|
@@ -104,7 +104,7 @@ Orange
|
|
|
104
104
|
|
|
105
105
|
:::
|
|
106
106
|
|
|
107
|
-
- [View Detail](https://
|
|
107
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/tabs.html)
|
|
108
108
|
|
|
109
109
|
#### Code Tabs
|
|
110
110
|
|
|
@@ -130,13 +130,13 @@ npm i -D vuepress-theme-hope
|
|
|
130
130
|
|
|
131
131
|
:::
|
|
132
132
|
|
|
133
|
-
- [View Detail](https://
|
|
133
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/code-tabs.html)
|
|
134
134
|
|
|
135
135
|
#### Superscript and Subscript
|
|
136
136
|
|
|
137
137
|
19^th^ H~2~O
|
|
138
138
|
|
|
139
|
-
- [View Detail](https://
|
|
139
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/sup-sub.html)
|
|
140
140
|
|
|
141
141
|
#### Align
|
|
142
142
|
|
|
@@ -152,13 +152,13 @@ I am right align
|
|
|
152
152
|
|
|
153
153
|
:::
|
|
154
154
|
|
|
155
|
-
- [View Detail](https://
|
|
155
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/align.html)
|
|
156
156
|
|
|
157
157
|
#### Attrs
|
|
158
158
|
|
|
159
159
|
A **word**{#word} having id.
|
|
160
160
|
|
|
161
|
-
- [View Detail](https://
|
|
161
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/attrs.html)
|
|
162
162
|
|
|
163
163
|
#### Footnote
|
|
164
164
|
|
|
@@ -166,26 +166,26 @@ This text has footnote[^first].
|
|
|
166
166
|
|
|
167
167
|
[^first]: This is footnote content
|
|
168
168
|
|
|
169
|
-
- [View Detail](https://
|
|
169
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/footnote.html)
|
|
170
170
|
|
|
171
171
|
#### Mark
|
|
172
172
|
|
|
173
173
|
You can mark ==important words== .
|
|
174
174
|
|
|
175
|
-
- [View Detail](https://
|
|
175
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/mark.html)
|
|
176
176
|
|
|
177
177
|
#### Tasklist
|
|
178
178
|
|
|
179
179
|
- [x] Plan A
|
|
180
180
|
- [ ] Plan B
|
|
181
181
|
|
|
182
|
-
- [View Detail](https://
|
|
182
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/tasklist.html)
|
|
183
183
|
|
|
184
184
|
#### Image Enhancement
|
|
185
185
|
|
|
186
186
|
Support setting color scheme and size
|
|
187
187
|
|
|
188
|
-
- [View Detail](https://
|
|
188
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/image.html)
|
|
189
189
|
|
|
190
190
|
#### Chart
|
|
191
191
|
|
|
@@ -221,7 +221,7 @@ Support setting color scheme and size
|
|
|
221
221
|
|
|
222
222
|
:::
|
|
223
223
|
|
|
224
|
-
- [View Detail](https://
|
|
224
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/chart.html)
|
|
225
225
|
|
|
226
226
|
#### Echarts
|
|
227
227
|
|
|
@@ -247,7 +247,7 @@ Support setting color scheme and size
|
|
|
247
247
|
|
|
248
248
|
:::
|
|
249
249
|
|
|
250
|
-
- [View Detail](https://
|
|
250
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/echarts.html)
|
|
251
251
|
|
|
252
252
|
#### Flowchart
|
|
253
253
|
|
|
@@ -260,7 +260,7 @@ cond(yes)->process->e
|
|
|
260
260
|
cond(no)->e
|
|
261
261
|
```
|
|
262
262
|
|
|
263
|
-
- [View Detail](https://
|
|
263
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/flowchart.html)
|
|
264
264
|
|
|
265
265
|
#### Mermaid
|
|
266
266
|
|
|
@@ -281,7 +281,7 @@ flowchart TB
|
|
|
281
281
|
two --> c2
|
|
282
282
|
```
|
|
283
283
|
|
|
284
|
-
- [View Detail](https://
|
|
284
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/mermaid.html)
|
|
285
285
|
|
|
286
286
|
#### Tex
|
|
287
287
|
|
|
@@ -290,13 +290,13 @@ $$
|
|
|
290
290
|
= \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^i r \cdots (r-i+1) (\log y)^{r-i}} {\omega^i} \right\}
|
|
291
291
|
$$
|
|
292
292
|
|
|
293
|
-
- [View Detail](https://
|
|
293
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/tex.html)
|
|
294
294
|
|
|
295
295
|
#### Include files
|
|
296
296
|
|
|
297
297
|
@include(./README.md{11-17})
|
|
298
298
|
|
|
299
|
-
- [View Detail](https://
|
|
299
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/include.html)
|
|
300
300
|
|
|
301
301
|
#### Code Demo
|
|
302
302
|
|
|
@@ -321,13 +321,13 @@ span {
|
|
|
321
321
|
|
|
322
322
|
:::
|
|
323
323
|
|
|
324
|
-
- [View Detail](https://
|
|
324
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/demo.html)
|
|
325
325
|
|
|
326
326
|
#### Stylize
|
|
327
327
|
|
|
328
328
|
Donate Mr.Hope a cup of coffee. _Recommended_
|
|
329
329
|
|
|
330
|
-
- [View Detail](https://
|
|
330
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/stylize.html)
|
|
331
331
|
|
|
332
332
|
#### Playground
|
|
333
333
|
|
|
@@ -345,7 +345,7 @@ speak(msg);
|
|
|
345
345
|
|
|
346
346
|
:::
|
|
347
347
|
|
|
348
|
-
- [View Detail](https://
|
|
348
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/playground.html)
|
|
349
349
|
|
|
350
350
|
#### Vue Playground
|
|
351
351
|
|
|
@@ -368,7 +368,7 @@ const msg = ref("Hello World!");
|
|
|
368
368
|
|
|
369
369
|
:::
|
|
370
370
|
|
|
371
|
-
- [View Detail](https://
|
|
371
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/vue-playground.html)
|
|
372
372
|
|
|
373
373
|
#### Presentation
|
|
374
374
|
|
|
@@ -403,6 +403,6 @@ $$
|
|
|
403
403
|
|
|
404
404
|
@slideend
|
|
405
405
|
|
|
406
|
-
- [View Detail](https://
|
|
406
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/presentation.html)
|
|
407
407
|
|
|
408
|
-
[md-enhance]: https://
|
|
408
|
+
[md-enhance]: https://theme-hope.vuejs.press/md-enhance/
|
|
@@ -59,14 +59,14 @@ The theme contains a custom badge:
|
|
|
59
59
|
|
|
60
60
|
This page should contain:
|
|
61
61
|
|
|
62
|
-
- [BreadCrumb](https://
|
|
63
|
-
- [Title and information](https://
|
|
64
|
-
- [TOC (Table of Contents)](https://
|
|
65
|
-
- [Meta information including update time and contributors](https://
|
|
66
|
-
- [Comments](https://
|
|
67
|
-
- [Navbar](https://
|
|
68
|
-
- [Sidebar](https://
|
|
69
|
-
- [Footer](https://
|
|
62
|
+
- [BreadCrumb](https://theme-hope.vuejs.press/guide/layout/breadcrumb.html)
|
|
63
|
+
- [Title and information](https://theme-hope.vuejs.press/guide/feature/page-info.html)
|
|
64
|
+
- [TOC (Table of Contents)](https://theme-hope.vuejs.press/guide/layout/page.html#header-list)
|
|
65
|
+
- [Meta information including update time and contributors](https://theme-hope.vuejs.press/guide/feature/meta.html)
|
|
66
|
+
- [Comments](https://theme-hope.vuejs.press/guide/feature/comment.html)
|
|
67
|
+
- [Navbar](https://theme-hope.vuejs.press/guide/layout/navbar.html)
|
|
68
|
+
- [Sidebar](https://theme-hope.vuejs.press/guide/layout/sidebar.html)
|
|
69
|
+
- [Footer](https://theme-hope.vuejs.press/guide/layout/footer.html)
|
|
70
70
|
- Back to top button
|
|
71
71
|
|
|
72
72
|
You can customize them in theme options and page frontmatter.
|
|
@@ -17,93 +17,93 @@ features:
|
|
|
17
17
|
- title: Markdown 增强
|
|
18
18
|
icon: markdown
|
|
19
19
|
details: 新增文字对齐、上下角标、脚注、标记、任务列表、数学公式、流程图、图表与幻灯片支持
|
|
20
|
-
link: https://
|
|
20
|
+
link: https://theme-hope.vuejs.press/zh/guide/markdown/
|
|
21
21
|
|
|
22
22
|
- title: 幻灯片页面
|
|
23
23
|
icon: slides
|
|
24
24
|
details: 添加幻灯片页面以显示你喜欢的内容
|
|
25
|
-
link: https://
|
|
25
|
+
link: https://theme-hope.vuejs.press/zh/guide/layout/slides.html
|
|
26
26
|
|
|
27
27
|
- title: 布局增强
|
|
28
28
|
icon: layout
|
|
29
29
|
details: 添加路径导航、页脚、改进的导航栏、改进的页面导航等。
|
|
30
|
-
link: https://
|
|
30
|
+
link: https://theme-hope.vuejs.press/zh/guide/layout/
|
|
31
31
|
|
|
32
32
|
- title: 浏览量与评论
|
|
33
33
|
icon: comment
|
|
34
34
|
details: 配合 Waline 来开启阅读量统计与评论支持
|
|
35
|
-
link: https://
|
|
35
|
+
link: https://theme-hope.vuejs.press/zh/guide/feature/comment.html
|
|
36
36
|
|
|
37
37
|
- title: 文章信息
|
|
38
38
|
icon: info
|
|
39
39
|
details: 为你的文章添加作者、写作日期、预计阅读时间、字数统计等信息
|
|
40
|
-
link: https://
|
|
40
|
+
link: https://theme-hope.vuejs.press/zh/guide/feature/page-info.html
|
|
41
41
|
|
|
42
42
|
- title: 博客支持
|
|
43
43
|
icon: blog
|
|
44
44
|
details: 使用一些很棒的布局提供博客功能,通过文章的日期、标签和分类,自动生成文章、分类、标签与时间轴列表
|
|
45
|
-
link: https://
|
|
45
|
+
link: https://theme-hope.vuejs.press/zh/guide/blog/intro.html
|
|
46
46
|
|
|
47
47
|
- title: 主题色切换
|
|
48
48
|
icon: palette
|
|
49
49
|
details: 支持自定义主题色并允许用户在预设的主题颜色之间切换
|
|
50
|
-
link: https://
|
|
50
|
+
link: https://theme-hope.vuejs.press/zh/guide/interface/theme-color.html
|
|
51
51
|
|
|
52
52
|
- title: 深色模式
|
|
53
53
|
icon: contrast
|
|
54
54
|
details: 可以自由切换浅色模式与深色模式
|
|
55
|
-
link: https://
|
|
55
|
+
link: https://theme-hope.vuejs.press/zh/guide/interface/darkmode.html
|
|
56
56
|
|
|
57
57
|
- title: 完整的无障碍支持
|
|
58
58
|
icon: support
|
|
59
59
|
details: 为你的网站带来完整的无障碍支持
|
|
60
|
-
link: https://
|
|
60
|
+
link: https://theme-hope.vuejs.press/zh/guide/interface/accessibility.html
|
|
61
61
|
|
|
62
62
|
- title: 文章加密
|
|
63
63
|
icon: lock
|
|
64
64
|
details: 你可以为你的特定页面或特定目录进行加密,以便陌生人不能随意访问它们
|
|
65
|
-
link: https://
|
|
65
|
+
link: https://theme-hope.vuejs.press/zh/guide/feature/encrypt.html
|
|
66
66
|
|
|
67
67
|
- title: 复制按钮
|
|
68
68
|
icon: copy
|
|
69
69
|
details: 一键复制代码块中的代码
|
|
70
|
-
link: https://
|
|
70
|
+
link: https://theme-hope.vuejs.press/zh/guide/feature/copy-code.html
|
|
71
71
|
|
|
72
72
|
- title: 图片预览
|
|
73
73
|
icon: pic
|
|
74
74
|
details: 像相册一样允许你浏览、缩放并分享你的页面图片
|
|
75
|
-
link: https://
|
|
75
|
+
link: https://theme-hope.vuejs.press/zh/guide/feature/photo-swipe.html
|
|
76
76
|
|
|
77
77
|
- title: SEO 增强
|
|
78
78
|
icon: config
|
|
79
79
|
details: 将最终生成的网页针对搜索引擎进行优化。
|
|
80
|
-
link: https://
|
|
80
|
+
link: https://theme-hope.vuejs.press/zh/guide/advanced/seo.html
|
|
81
81
|
|
|
82
82
|
- title: Sitemap
|
|
83
83
|
icon: sitemap
|
|
84
84
|
details: 自动为你的网站生成 Sitemap
|
|
85
|
-
link: https://
|
|
85
|
+
link: https://theme-hope.vuejs.press/zh/guide/advanced/sitemap.html
|
|
86
86
|
|
|
87
87
|
- title: Feed 支持
|
|
88
88
|
icon: rss
|
|
89
89
|
details: 生成你的 Feed,并通知你的用户订阅它
|
|
90
|
-
link: https://
|
|
90
|
+
link: https://theme-hope.vuejs.press/zh/guide/advanced/feed.html
|
|
91
91
|
|
|
92
92
|
- title: PWA 支持
|
|
93
93
|
icon: mobile
|
|
94
94
|
details: 让你的网站更像一个 APP
|
|
95
|
-
link: https://
|
|
95
|
+
link: https://theme-hope.vuejs.press/zh/guide/advanced/pwa.html
|
|
96
96
|
|
|
97
97
|
- title: 更多新特性
|
|
98
98
|
icon: more
|
|
99
99
|
details: 包括图标支持、全屏按钮、返回顶部按钮等
|
|
100
|
-
link: https://
|
|
100
|
+
link: https://theme-hope.vuejs.press/zh/guide/feature/
|
|
101
101
|
copyright: false
|
|
102
|
-
footer: 使用 <a href="https://
|
|
102
|
+
footer: 使用 <a href="https://theme-hope.vuejs.press/" target="_blank">VuePress Theme Hope</a> 主题 | MIT 协议, 版权所有 © 2019-present Mr.Hope
|
|
103
103
|
---
|
|
104
104
|
|
|
105
105
|
这是项目主页的案例。你可以在这里放置你的主体内容。
|
|
106
106
|
|
|
107
107
|
想要使用此布局,你需要在页面 front matter 中设置 `home: true`。
|
|
108
108
|
|
|
109
|
-
配置项的相关说明详见 [项目主页配置](https://
|
|
109
|
+
配置项的相关说明详见 [项目主页配置](https://theme-hope.vuejs.press/zh/guide/layout/home/)。
|
|
@@ -16,7 +16,7 @@ VuePress 主要从 Markdown 文件生成页面。因此,你可以使用它轻
|
|
|
16
16
|
|
|
17
17
|
## Markdown 介绍
|
|
18
18
|
|
|
19
|
-
如果你是一个新手,还不会编写 Markdown,请先阅读 [Markdown 介绍](https://
|
|
19
|
+
如果你是一个新手,还不会编写 Markdown,请先阅读 [Markdown 介绍](https://theme-hope.vuejs.press/zh/cookbook/markdown/) 和 [Markdown 演示](https://theme-hope.vuejs.press/zh/cookbook/markdown/demo.html)。
|
|
20
20
|
|
|
21
21
|
## Markdown 配置
|
|
22
22
|
|
|
@@ -24,7 +24,7 @@ VuePress 通过 Frontmatter 为每个 Markdown 页面引入配置。
|
|
|
24
24
|
|
|
25
25
|
::: info
|
|
26
26
|
|
|
27
|
-
Frontmatter 是 VuePress 中很重要的一个概念,如果你不了解它,你需要阅读 [Frontmatter 介绍](https://
|
|
27
|
+
Frontmatter 是 VuePress 中很重要的一个概念,如果你不了解它,你需要阅读 [Frontmatter 介绍](https://theme-hope.vuejs.press/zh/cookbook/vuepress/page.html#front-matter)。
|
|
28
28
|
|
|
29
29
|
:::
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ VuePress 会使用 [markdown-it](https://github.com/markdown-it/markdown-it) 来
|
|
|
36
36
|
|
|
37
37
|
为了丰富文档写作,VuePress 对 Markdown 语法进行了扩展。
|
|
38
38
|
|
|
39
|
-
关于这些扩展,请阅读 [VuePress 中的 Markdown 扩展](https://
|
|
39
|
+
关于这些扩展,请阅读 [VuePress 中的 Markdown 扩展](https://theme-hope.vuejs.press/zh/cookbook/vuepress/markdown.html)。
|
|
40
40
|
|
|
41
41
|
### 主题扩展
|
|
42
42
|
|
|
@@ -84,7 +84,7 @@ const a = 1;
|
|
|
84
84
|
|
|
85
85
|
:::
|
|
86
86
|
|
|
87
|
-
- [查看详情](https://
|
|
87
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/container.html)
|
|
88
88
|
|
|
89
89
|
#### 代码块
|
|
90
90
|
|
|
@@ -110,13 +110,13 @@ npm i -D vuepress-theme-hope
|
|
|
110
110
|
|
|
111
111
|
:::
|
|
112
112
|
|
|
113
|
-
- [查看详情](https://
|
|
113
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/code-tabs.html)
|
|
114
114
|
|
|
115
115
|
#### 上下角标
|
|
116
116
|
|
|
117
117
|
19^th^ H~2~O
|
|
118
118
|
|
|
119
|
-
- [查看详情](https://
|
|
119
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/sup-sub.html)
|
|
120
120
|
|
|
121
121
|
#### 自定义对齐
|
|
122
122
|
|
|
@@ -132,13 +132,13 @@ npm i -D vuepress-theme-hope
|
|
|
132
132
|
|
|
133
133
|
:::
|
|
134
134
|
|
|
135
|
-
- [查看详情](https://
|
|
135
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/align.html)
|
|
136
136
|
|
|
137
137
|
#### Attrs
|
|
138
138
|
|
|
139
139
|
一个拥有 ID 的 **单次**{#word}。
|
|
140
140
|
|
|
141
|
-
- [查看详情](https://
|
|
141
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/attrs.html)
|
|
142
142
|
|
|
143
143
|
#### 脚注
|
|
144
144
|
|
|
@@ -146,26 +146,26 @@ npm i -D vuepress-theme-hope
|
|
|
146
146
|
|
|
147
147
|
[^first]: 这是脚注内容
|
|
148
148
|
|
|
149
|
-
- [查看详情](https://
|
|
149
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/footnote.html)
|
|
150
150
|
|
|
151
151
|
#### 标记
|
|
152
152
|
|
|
153
153
|
你可以标记 ==重要的内容== 。
|
|
154
154
|
|
|
155
|
-
- [查看详情](https://
|
|
155
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/mark.html)
|
|
156
156
|
|
|
157
157
|
#### 任务列表
|
|
158
158
|
|
|
159
159
|
- [x] 计划 1
|
|
160
160
|
- [ ] 计划 2
|
|
161
161
|
|
|
162
|
-
- [查看详情](https://
|
|
162
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/tasklist.html)
|
|
163
163
|
|
|
164
164
|
### 图片增强
|
|
165
165
|
|
|
166
166
|
支持为图片设置颜色模式和大小
|
|
167
167
|
|
|
168
|
-
- [查看详情](https://
|
|
168
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/image.html)
|
|
169
169
|
|
|
170
170
|
#### 图表
|
|
171
171
|
|
|
@@ -201,7 +201,7 @@ npm i -D vuepress-theme-hope
|
|
|
201
201
|
|
|
202
202
|
:::
|
|
203
203
|
|
|
204
|
-
- [查看详情](https://
|
|
204
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/chart.html)
|
|
205
205
|
|
|
206
206
|
#### Echarts
|
|
207
207
|
|
|
@@ -227,7 +227,7 @@ npm i -D vuepress-theme-hope
|
|
|
227
227
|
|
|
228
228
|
:::
|
|
229
229
|
|
|
230
|
-
- [查看详情](https://
|
|
230
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/echarts.html)
|
|
231
231
|
|
|
232
232
|
#### 流程图
|
|
233
233
|
|
|
@@ -240,7 +240,7 @@ cond(yes)->process->e
|
|
|
240
240
|
cond(no)->e
|
|
241
241
|
```
|
|
242
242
|
|
|
243
|
-
- [查看详情](https://
|
|
243
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/flowchart.html)
|
|
244
244
|
|
|
245
245
|
#### Mermaid
|
|
246
246
|
|
|
@@ -261,7 +261,7 @@ flowchart TB
|
|
|
261
261
|
two --> c2
|
|
262
262
|
```
|
|
263
263
|
|
|
264
|
-
- [查看详情](https://
|
|
264
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/mermaid.html)
|
|
265
265
|
|
|
266
266
|
#### Tex 语法
|
|
267
267
|
|
|
@@ -270,13 +270,13 @@ $$
|
|
|
270
270
|
= \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^i r \cdots (r-i+1) (\log y)^{r-i}} {\omega^i} \right\}
|
|
271
271
|
$$
|
|
272
272
|
|
|
273
|
-
- [查看详情](https://
|
|
273
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/tex.html)
|
|
274
274
|
|
|
275
275
|
#### 导入文件
|
|
276
276
|
|
|
277
277
|
@include(./README.md{11-17})
|
|
278
278
|
|
|
279
|
-
- [查看详情](https://
|
|
279
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/include.html)
|
|
280
280
|
|
|
281
281
|
#### 代码演示
|
|
282
282
|
|
|
@@ -301,13 +301,13 @@ span {
|
|
|
301
301
|
|
|
302
302
|
:::
|
|
303
303
|
|
|
304
|
-
- [查看详情](https://
|
|
304
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/demo.html)
|
|
305
305
|
|
|
306
306
|
#### 样式化
|
|
307
307
|
|
|
308
308
|
向 Mr.Hope 捐赠一杯咖啡。 _Recommended_
|
|
309
309
|
|
|
310
|
-
- [查看详情](https://
|
|
310
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/stylize.html)
|
|
311
311
|
|
|
312
312
|
#### 交互演示
|
|
313
313
|
|
|
@@ -325,7 +325,7 @@ speak(msg);
|
|
|
325
325
|
|
|
326
326
|
:::
|
|
327
327
|
|
|
328
|
-
- [查看详情](https://
|
|
328
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/playground.html)
|
|
329
329
|
|
|
330
330
|
#### Vue 交互演示
|
|
331
331
|
|
|
@@ -348,7 +348,7 @@ const msg = ref("Hello World!");
|
|
|
348
348
|
|
|
349
349
|
:::
|
|
350
350
|
|
|
351
|
-
- [查看详情](https://
|
|
351
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/vue-playground.html)
|
|
352
352
|
|
|
353
353
|
#### 幻灯片
|
|
354
354
|
|
|
@@ -383,6 +383,6 @@ $$
|
|
|
383
383
|
|
|
384
384
|
@slideend
|
|
385
385
|
|
|
386
|
-
- [查看详情](https://
|
|
386
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/presentation.html)
|
|
387
387
|
|
|
388
|
-
[md-enhance]: https://
|
|
388
|
+
[md-enhance]: https://theme-hope.vuejs.press/md-enhance/zh/
|
|
@@ -59,14 +59,14 @@ copyright: 无版权
|
|
|
59
59
|
|
|
60
60
|
此页面应当包含:
|
|
61
61
|
|
|
62
|
-
- [路径导航](https://
|
|
63
|
-
- [标题和页面信息](https://
|
|
64
|
-
- [TOC (文章标题列表)](https://
|
|
65
|
-
- [贡献者、更新时间等页面元信息](https://
|
|
66
|
-
- [评论](https://
|
|
67
|
-
- [导航栏](https://
|
|
68
|
-
- [侧边栏](https://
|
|
69
|
-
- [页脚](https://
|
|
62
|
+
- [路径导航](https://theme-hope.vuejs.press/zh/guide/layout/breadcrumb.html)
|
|
63
|
+
- [标题和页面信息](https://theme-hope.vuejs.press/zh/guide/feature/page-info.html)
|
|
64
|
+
- [TOC (文章标题列表)](https://theme-hope.vuejs.press/zh/guide/layout/page.html#标题列表)
|
|
65
|
+
- [贡献者、更新时间等页面元信息](https://theme-hope.vuejs.press/guide/feature/meta.html)
|
|
66
|
+
- [评论](https://theme-hope.vuejs.press/zh/guide/feature/comment.html)
|
|
67
|
+
- [导航栏](https://theme-hope.vuejs.press/zh/guide/layout/navbar.html)
|
|
68
|
+
- [侧边栏](https://theme-hope.vuejs.press/zh/guide/layout/sidebar.html)
|
|
69
|
+
- [页脚](https://theme-hope.vuejs.press/zh/guide/layout/footer.html)
|
|
70
70
|
- 返回顶部按钮
|
|
71
71
|
|
|
72
72
|
你可以通过主题选项和页面 Frontmatter 自定义它们。
|