You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/guide/markdown.md
+10-16
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ For more details, see [Frontmatter](../reference/frontmatter-config).
80
80
81
81
**Input**
82
82
83
-
```
83
+
```md
84
84
| Tables | Are | Cool |
85
85
| ------------- | :-----------: | ----: |
86
86
| col 3 is | right-aligned | $1600 |
@@ -265,7 +265,7 @@ Wraps in a <div class="vp-raw">
265
265
266
266
## Syntax Highlighting in Code Blocks
267
267
268
-
VitePress uses [Shiki](https://shiki.matsu.io/) to highlight language syntax in Markdown code blocks, using coloured text. Shiki supports a wide variety of programming languages. All you need to do is append a valid language alias to the beginning backticks for the code block:
268
+
VitePress uses [Shikiji](https://github.com/antfu/shikiji) (an improved version of [Shiki](https://shiki.matsu.io/)) to highlight language syntax in Markdown code blocks, using coloured text. Shiki supports a wide variety of programming languages. All you need to do is append a valid language alias to the beginning backticks for the code block:
Copy file name to clipboardexpand all lines: docs/reference/site-config.md
+2-82
Original file line number
Diff line number
Diff line change
@@ -454,95 +454,15 @@ When using the default theme, enabling this option will display each page's last
454
454
455
455
- Type: `MarkdownOption`
456
456
457
-
Configure Markdown parser options. VitePress uses [Markdown-it](https://github.com/markdown-it/markdown-it) as the parser, and [Shiki](https://shiki.matsu.io/) to highlight language syntax. Inside this option, you may pass various Markdown related options to fit your needs.
457
+
Configure Markdown parser options. VitePress uses [Markdown-it](https://github.com/markdown-it/markdown-it) as the parser, and [Shikiji](https://github.com/antfu/shikiji) (an improved version of [Shiki](https://shiki.matsu.io/)) to highlight language syntax. Inside this option, you may pass various Markdown related options to fit your needs.
458
458
459
459
```js
460
460
exportdefault {
461
461
markdown: {...}
462
462
}
463
463
```
464
464
465
-
Below are all the options that you can have in this object:
0 commit comments