0.0.1 • Published 5 years ago
vuepress-plugin-code-doc v0.0.1
vuepress-plugin-code-doc
🤩🤩🤩Writing Vuepress Documents Like Element-UI
Installation
Install plugin for your Vuepress project.
$ yarn add vuepress-plugin-code-doc
#or
$ npm i vuepress-plugin-code-docUsage
In .vuepress/config.js, require the plugin and set it to the config. as follow:
const CodeDocPlugin = require('vuepress-plugin-code-doc')
const CodeDocOpt = {}
module.exports = {
title: 'Vuepress Plugin Code Doc',
plugins: [[CodeDocPlugin, CodeDocOpt]]
}Options
| Name | Description | type | Accepted Values | Default |
|---|---|---|---|---|
| schema | code block mark | string | --- | : |
| scrollViewSelector | scrollViewSelector | string | --- | html |
0.0.1
5 years ago
0.0.1-alpha
6 years ago