Skip to content

標記:無意義

內容是 VitePress 預設的 Markdown Extension Examples 範例頁,跟標題「Life Murmur」無關,看不出想寫什麼。

Markdown Extension Examples ​

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

md
```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.

💡 錦囊 [Tips]:

This is a tip.

⚡ 注意 [Warning]:

This is a warning.

⛔ 錯誤 [Error]:

This is a dangerous warning.

詳細資料 [Details]:

This is a details block.

More ​

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

Released under the MIT License.