Skip to content
On this page

最近实践

This page demonstrates some of the built-in markdown extensions provided by VitePress.

Syntax Highlighting

VitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:

Input

```js{4}
export default {
  data () {
    return {
      msg: 'Highlighted!'
    }
  }
}
```

Output

js
export default {
  data () {
    return {
      msg: 'Highlighted!'
    }
  }
}

Custom Containers

Input

md
::: info
This is an info box.
:::

::: tip
This is a tip.
:::

::: warning
This is a warning.
:::

::: danger
This is a dangerous warning.
:::

::: details
This is a details block.
:::

Output

INFO

This is an info box.

TIP

This is a tip.

WARNING

This is a warning.

DANGER

This is a dangerous warning.

Details

This is a details block.

More

Check out the documentation for the full list of markdown extensions.

如何开会

A.明确会议需要达成的目标
B.明确时间和日程—控制时间在40分钟以内
C.提前通知和准备
D.讨论行动方案,而非问题
E.会议得出结论,发出会议纪要和行动计划

hello
world

''' hello aa bb cc '''

如何开会

A.明确会议需要达成的目标
B.明确时间和日程—控制时间在40分钟以内
C.提前通知和准备
D.讨论行动方案,而非问题
E.会议得出结论,发出会议纪要和行动计划