Skip to content

Commit 371fbec

Browse files
committed
chore: update helpers
1 parent e810ba3 commit 371fbec

File tree

3 files changed

+52
-62
lines changed

3 files changed

+52
-62
lines changed

docs/de-de/helpers.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ wird wie folgt gerendert:
1919
Generelle Tipps wie:
2020

2121
```markdown
22-
?> *TODO* unit test
22+
?> _TODO_ unit test
2323
```
2424

2525
wird wie folgt gerendert:
2626

27-
?> *TODO* unit test
27+
?> _TODO_ unit test
2828

2929
## Ignore to compile link
3030

@@ -34,45 +34,43 @@ Some time we will put some other relative path to the link, you have to need to
3434
[link](/demo/)
3535
```
3636

37-
3837
It will be compiled to `<a href="/#/demo/">link</a>` and will be loaded `/demo/README.md`. Maybe you want to jump to `/demo/index.html`.
3938

4039
Now you can do that
4140

4241
```md
43-
[link](/demo/ ":ignore")
42+
[link](/demo/ ':ignore')
4443
```
44+
4545
You will get `<a href="/demo/">link</a>`html. Do not worry, you can still set title for link.
4646

4747
```md
48-
[link](/demo/ ":ignore title")
48+
[link](/demo/ ':ignore title')
4949

5050
<a href="/demo/" title="title">link</a>
5151
```
5252

5353
## Set target attribute for link
5454

5555
```md
56-
[link](/demo ":target=_blank")
57-
[link](/demo2 ":target=_self")
56+
[link](/demo ':target=_blank')
57+
[link](/demo2 ':target=_self')
5858
```
5959

60-
6160
## Github Task Lists
6261

6362
```md
64-
6563
* [ ] foo
66-
* bar
67-
* [x] baz
68-
* [] bam
69-
* [ ] bim
70-
* [ ] lim
64+
* bar
65+
* [x] baz
66+
* [] bam <~ not working
67+
* [ ] bim
68+
* [ ] lim
7169
```
7270

7371
* [ ] foo
74-
* bar
75-
* [x] baz
76-
* [] bam
77-
* [ ] bim
78-
* [ ] lim
72+
* bar
73+
* [x] baz
74+
* [] bam <~ not working
75+
* [ ] bim
76+
* [ ] lim

docs/helpers.md

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ is rendered as:
1919
General tips like:
2020

2121
```markdown
22-
?> *TODO* unit test
22+
?> _TODO_ unit test
2323
```
2424

2525
are rendered as:
2626

27-
?> *TODO* unit test
27+
?> _TODO_ unit test
2828

2929
## Ignore to compile link
3030

@@ -34,51 +34,49 @@ Some time we will put some other relative path to the link, you have to need to
3434
[link](/demo/)
3535
```
3636

37-
3837
It will be compiled to `<a href="/#/demo/">link</a>` and will be loaded `/demo/README.md`. Maybe you want to jump to `/demo/index.html`.
3938

4039
Now you can do that
4140

4241
```md
43-
[link](/demo/ ":ignore")
42+
[link](/demo/ ':ignore')
4443
```
44+
4545
You will get `<a href="/demo/">link</a>`html. Do not worry, you can still set title for link.
4646

4747
```md
48-
[link](/demo/ ":ignore title")
48+
[link](/demo/ ':ignore title')
4949

5050
<a href="/demo/" title="title">link</a>
5151
```
5252

5353
## Set target attribute for link
5454

5555
```md
56-
[link](/demo ":target=_blank")
57-
[link](/demo2 ":target=_self")
56+
[link](/demo ':target=_blank')
57+
[link](/demo2 ':target=_self')
5858
```
5959

6060
## Disable link
6161

6262
```md
63-
[link](/demo ":disabled")
63+
[link](/demo ':disabled')
6464
```
6565

6666
## Github Task Lists
6767

6868
```md
69-
7069
* [ ] foo
71-
* bar
72-
* [x] baz
73-
* [] bam
74-
* [ ] bim
75-
* [ ] lim
70+
* bar
71+
* [x] baz
72+
* [] bam <~ not working
73+
* [ ] bim
74+
* [ ] lim
7675
```
7776

7877
* [ ] foo
79-
* bar
80-
* [x] baz
81-
* [ ] bam
82-
* [ ] bim
83-
* [ ] lim
84-
78+
* bar
79+
* [x] baz
80+
* [] bam <~ not working
81+
* [ ] bim
82+
* [ ] lim

docs/zh-cn/helpers.md

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
docsify 扩展了一些 Markdown 语法,可以让文档更易读。
44

5-
65
## 强调内容
76

87
适合显示重要的提示信息,语法为 `!> 内容`
@@ -13,17 +12,15 @@ docsify 扩展了一些 Markdown 语法,可以让文档更易读。
1312

1413
!> 一段重要的内容,可以和其他 **Markdown** 语法混用。
1514

16-
1715
## 普通提示
1816

1917
普通的提示信息,比如写 TODO 或者参考内容等。
2018

2119
```markdown
22-
?> *TODO* 完善示例
20+
?> _TODO_ 完善示例
2321
```
2422

25-
?> *TODO* 完善示例
26-
23+
?> _TODO_ 完善示例
2724

2825
## 忽略编译链接
2926

@@ -33,46 +30,43 @@ docsify 扩展了一些 Markdown 语法,可以让文档更易读。
3330
[link](/demo/)
3431
```
3532

36-
3733
它将被编译为 `<a href="/#/demo/">link</a>` 并将加载 `/demo/README.md`. 可能你想跳转到 `/demo/index.html`
3834

3935
现在你可以做到这一点
4036

4137
```md
42-
[link](/demo/ ":ignore")
38+
[link](/demo/ ':ignore')
4339
```
40+
4441
即将会得到 `<a href="/demo/">link</a>` html 代码。不要担心,你仍然可以为链接设置标题。
4542

4643
```md
47-
[link](/demo/ ":ignore title")
44+
[link](/demo/ ':ignore title')
4845

4946
<a href="/demo/" title="title">link</a>
5047
```
5148

52-
5349
## 设置链接的 target 属性
5450

5551
```md
56-
[link](/demo ":target=_blank")
57-
[link](/demo2 ":target=_self")
52+
[link](/demo ':target=_blank')
53+
[link](/demo2 ':target=_self')
5854
```
5955

60-
6156
## Github 任务列表
6257

6358
```md
64-
6559
* [ ] foo
66-
* bar
67-
* [x] baz
68-
* [] bam
69-
* [ ] bim
70-
* [ ] lim
60+
* bar
61+
* [x] baz
62+
* [] bam <~ not working
63+
* [ ] bim
64+
* [ ] lim
7165
```
7266

7367
* [ ] foo
74-
* bar
75-
* [x] baz
76-
* [] bam
77-
* [ ] bim
78-
* [ ] lim
68+
* bar
69+
* [x] baz
70+
* [] bam <~ not working
71+
* [ ] bim
72+
* [ ] lim

0 commit comments

Comments
 (0)