File tree
Expand file treeCollapse file tree
17 files changed
+222
-95
lines changedFilter options
- packages/@vuepress/markdown
- __tests__
- __snapshots__
- fragments
- lib
Expand file treeCollapse file tree
17 files changed
+222
-95
lines changed+13-10Lines changed: 13 additions & 10 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
32 | 32 |
|
33 | 33 |
|
34 | 34 |
|
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
35 | 43 |
|
36 | 44 |
|
37 | 45 |
|
38 | 46 |
|
| 47 | + |
39 | 48 |
|
40 | 49 |
|
41 | 50 |
|
42 |
| - |
43 |
| - |
44 |
| - |
45 |
| - |
46 |
| - |
47 |
| - |
48 |
| - |
49 |
| - |
50 |
| - |
51 |
| - |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
52 | 55 |
|
53 | 56 |
|
packages/@vuepress/markdown/__tests__/__snapshots__/containers.spec.js.snap
Copy file name to clipboard+15-14Lines changed: 15 additions & 14 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
5 |
| - |
6 |
| - |
| 4 | + |
| 5 | + |
7 | 6 |
|
| 7 | + |
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
12 |
| - |
13 |
| - |
| 11 | + |
| 12 | + |
14 | 13 |
|
| 14 | + |
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
| - |
19 |
| - |
20 |
| - |
| 18 | + |
| 19 | + |
21 | 20 |
|
| 21 | + |
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
| - |
26 |
| - |
| 25 | + |
| 26 | + |
27 | 27 |
|
| 28 | + |
28 | 29 |
|
29 | 30 |
|
30 | 31 |
|
31 |
| - |
32 |
| - |
33 |
| - |
| 32 | + |
| 33 | + |
34 | 34 |
|
| 35 | + |
35 | 36 |
|
packages/@vuepress/markdown/__tests__/__snapshots__/highlight.spec.js.snap
Copy file name to clipboard+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
| 4 | + |
5 | 5 |
|
| 6 | + |
6 | 7 |
|
packages/@vuepress/markdown/__tests__/__snapshots__/highlightLines.spec.js.snap
Copy file name to clipboard+9-13Lines changed: 9 additions & 13 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
5 |
| - |
6 |
| - |
7 |
| - |
8 |
| - |
9 |
| - |
10 |
| - |
11 |
| - |
12 |
| - |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
13 | 11 |
|
14 | 12 |
|
15 | 13 |
|
16 |
| - |
17 |
| - |
18 |
| - |
19 |
| - |
| 14 | + |
| 15 | + |
20 | 16 |
|
packages/@vuepress/markdown/__tests__/__snapshots__/hoist.spec.js.snap
Copy file name to clipboard+11-6Lines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
5 |
| - |
| 4 | + |
| 5 | + |
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
| 12 | + |
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
15 |
| - |
| 16 | + |
16 | 17 |
|
| 18 | + |
17 | 19 |
|
18 | 20 |
|
19 | 21 |
|
20 | 22 |
|
| 23 | + |
21 | 24 |
|
22 |
| - |
23 |
| - |
| 25 | + |
| 26 | + |
| 27 | + |
24 | 28 |
|
25 | 29 |
|
26 | 30 |
|
27 |
| - |
| 31 | + |
| 32 | + |
28 | 33 |
|
29 | 34 |
|
30 | 35 |
|
packages/@vuepress/markdown/__tests__/__snapshots__/lineNumers.spec.js.snap
Copy file name to clipboard+4-18Lines changed: 4 additions & 18 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
5 |
| - |
6 |
| - |
7 |
| - |
8 |
| - |
9 |
| - |
10 |
| - |
11 |
| - |
12 |
| - |
13 |
| - |
14 |
| - |
| 4 | + |
| 5 | + |
15 | 6 |
|
16 | 7 |
|
17 | 8 |
|
18 |
| - |
19 |
| - |
20 |
| - |
| 9 | + |
21 | 10 |
|
22 |
| - |
23 |
| - |
24 |
| - |
25 |
| - |
| 11 | + |
26 | 12 |
|
packages/@vuepress/markdown/__tests__/__snapshots__/link.spec.js.snap
Copy file name to clipboard+6-15Lines changed: 6 additions & 15 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
5 |
| - |
6 |
| - |
7 |
| - |
8 |
| - |
| 4 | + |
| 5 | + |
9 | 6 |
|
10 | 7 |
|
11 | 8 |
|
12 |
| - |
13 |
| - |
14 |
| - |
15 |
| - |
16 |
| - |
| 9 | + |
| 10 | + |
17 | 11 |
|
18 | 12 |
|
19 | 13 |
|
20 |
| - |
21 |
| - |
22 |
| - |
23 |
| - |
24 |
| - |
| 14 | + |
| 15 | + |
25 | 16 |
|
packages/@vuepress/markdown/__tests__/__snapshots__/snippet.spec.js.snap
Copy file name to clipboardExpand all lines: packages/@vuepress/markdown/__tests__/__snapshots__/snippet.spec.js.snap+16Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
10 | 19 |
|
11 | 20 |
|
12 | 21 |
|
| ||
24 | 33 |
|
25 | 34 |
|
26 | 35 |
|
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
packages/@vuepress/markdown/__tests__/fragments/code-snippet-highlightLines-multiple.md
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
packages/@vuepress/markdown/__tests__/fragments/code-snippet-highlightLines-single-specify-language-ruby.md
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
packages/@vuepress/markdown/__tests__/fragments/code-snippet-highlightLines-single.md
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
packages/@vuepress/markdown/__tests__/fragments/code-snippet-specify-language-ruby.md
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
packages/@vuepress/markdown/__tests__/fragments/code-snippet.md
Copy file name to clipboard+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
packages/@vuepress/markdown/__tests__/fragments/snippet.rb
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
packages/@vuepress/markdown/__tests__/snippet.spec.js
Copy file name to clipboardExpand all lines: packages/@vuepress/markdown/__tests__/snippet.spec.js+22-2Lines changed: 22 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
2 | 5 |
|
3 | 6 |
|
4 | 7 |
|
5 | 8 |
|
6 |
| - |
| 9 | + |
| 10 | + |
| 11 | + |
7 | 12 |
|
8 | 13 |
|
9 | 14 |
|
| ||
23 | 28 |
|
24 | 29 |
|
25 | 30 |
|
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
26 | 46 |
|
packages/@vuepress/markdown/lib/snippet.js
Copy file name to clipboardExpand all lines: packages/@vuepress/markdown/lib/snippet.js+20-6Lines changed: 20 additions & 6 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
| 5 | + |
5 | 6 |
|
6 |
| - |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
| - |
| 10 | + |
| 11 | + |
11 | 12 |
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
15 |
| - |
16 |
| - |
17 |
| - |
| 16 | + |
| 17 | + |
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
| ||
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
31 | 45 |
|
32 | 46 |
|
33 | 47 |
|
34 |
| - |
| 48 | + |
35 | 49 |
|
36 | 50 |
|
37 | 51 |
|
|
0 commit comments