Skip to content

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

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

TIP

This is a tip.

Last updated: