Vuepress plugin - extend Element UI base on markdown-it-container
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'
]
}
:::: el-tabs
::: el-tab-pane label=title
__markdown content__
:::
::: el-tab-pane label=javascript
``` javascript
() => {
console.log('Javascript code example')
}
```
:::
::::