vuepress-plugin-element-ui
v1.1.0
Published
vuepress plugin to extend elementui base on markdown-it-container
Downloads
34
Maintainers
Readme
vuepress-plugin-element-ui
Vuepress plugin - extend Element UI base on markdown-it-container
Docs
https://lq782655835.github.io/vuepress-plugin-element-ui/
Install
Important: This plugin requires VuePress >= 1.0.0, for now you can try it via yarn add vuepress@next -D
yarn add vuepress-plugin-element-ui -D
// .vuepress/config.js
module.exports = {
plugins: [
'element-ui'
]
}
Usage
:::: el-tabs
::: el-tab-pane label=title
__markdown content__
:::
::: el-tab-pane label=javascript
``` javascript
() => {
console.log('Javascript code example')
}
```
:::
::::