Appearance
Markdown Extension Ekstra
This page demonstrates some of the built-in markdown extensions provided by VitePress.
File-reference
Input
md
[Adobe-Fil.pdf](/Adobe-Fil.pdf) - target: \_self (defult)
<a href="./Adobe-Fil.pdf" target="_blank">Adobe-Fil.pdf</a> - target: \_blank

Output
Adobe-Fil.pdf - target: _self (defult)
Adobe-Fil.pdf - target: _blank
GitHub-Style Tables
Input
md
| Tables | Are | Cool |
| ------------- | :-----------: | ----: |
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
Output
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
Custom Title
You may set custom title by appending the text right after the "type" of the container.
Input
md
::: danger STOP
Danger zone, do not proceed
:::
::: details Click me to view the code
```js
console.log('Hello, VitePress!');
```
:::
Output
STOP
Danger zone, do not proceed
Click me to view the code
js
console.log('Hello, VitePress!');