Markdown

自定义容器

下面的容器块演示 Markdown 扩展能力(提示框本身使用英文原文,便于对照官方示例)。

Custom Containers

The following blocks demonstrate Markdown extensions (container labels stay in English for the official sample).

信息

This is an info box.

提示

This is a tip.

注意

This is a warning.

警告

This is a dangerous warning.

详情

This is a details block.

代码块中的彩色 Diff

Colored Diffs in Code Blocks

js
export default {
  data () {
    return {
      msg: 'Removed'
      msg: 'Added'
    }
  }
}

赞助我

如果你觉得这篇文章有意义,不妨赞助我一下