docute-custom-container
🔍Docute plugin vuepress custom container
This is just an
IT-JUST-WORKS
plugin!
CAN NOT be NESTED!
live demo
Checkout theUsage
Load javascript and css
In your markdown file
# Docute custom container ::: tipThis is a tip::: ::: warningThis is a warning::: ::: dangerThis is a dangerous warning:::
Use With Bundlers
yarn add docute-custom-container
Webpack
In your entry file
... plugins:
API
docuteCustomContainer(options: Options)
defaultTitle
- Type:
boolean
- Default:
false
Show the default title when you unspecified customize title.
registerContainer
- Type:
Array<string>
- Default:
[]
Register others custom block.
Then you can use the new container in markdown file
::: greetgreeter!:::
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
docute-custom-container © evillt, Released under the MIT License.
Authored and maintained by EVILLT with help from contributors (list).