# Quick start 1.0.3
# Install
npm install vuepress-plugin-markdown-define
# Usage
in config.js
TIP
The below variables is not start with ., just for page show to skip render
const CONSTS = {
__.VERSION__: require('../../package.json').version
}
module.exports = {
// ...
plugins: [
[
'markdown-define',
CONSTS
]
]
}
Define the version:
## Vuepress-plugin-markdown-define <Badge text="__.VERSION__" />