2.0.0-alpha.26 • Published 2 years ago

@dwspace/vuepress-plugin-md-plus v2.0.0-alpha.26

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@renovamen/vuepress-plugin-md-plus@next

npm docs license

A plugin for enhancing Markdown in VuePress 2. Now the following features are supported:

Demo

 

Install

# pnpm
pnpm install @renovamen/vuepress-plugin-md-plus@next
# yarn
yarn add @renovamen/vuepress-plugin-md-plus@next
# npm
npm install @renovamen/vuepress-plugin-md-plus@next

 

Configuration

You can enable all features simply by:

const { mdPlusPlugin } = require("@renovamen/vuepress-plugin-md-plus");

module.exports = {
  plugins: [
    mdPlusPlugin({
      all: true,  // Enable all features or not, this will rewrite all the following options (default: false)
    })
  ]
}

or enable them separately:

module.exports = {
  plugins: [
    mdPlusPlugin({
      footnote: true,  // Enable footnote or not (default: false)
      mark: true  // Enable mark or not (default: false)
    })
  ]
}

 

Usage

Footnote

Add footnotes for text[^1]

[^1]: Write your footnote here.

Mark

Mark important information: "Excuse me. Can you tell me how much the shirt is?" "Yes, it's ==nine fifteen==."

 

License

MIT