🔍Docute plugin vuepress custom container
npm install docute-custom-container🔍Docute plugin vuepress custom container
> This is just an IT-JUST-WORKS plugin!
> CAN NOT be NESTED!





Load javascript and css
``html
rel="stylesheet"
href="https://unpkg.com/docute-custom-container/dist/index.min.css"
/>
`
In your markdown file
`markdownDocute custom container
::: tip
This is a tip
:::
::: warning
This is a warning
:::
::: danger
This is a dangerous warning
:::
`
`console`
yarn add docute-custom-container
In your entry file
`js
import Docute from 'docute'
import customContainer from 'docute-custom-container'
new Docute({
...
plugins: [
customContainer()
]
})
`
docuteCustomContainer(options: Options)
- Type: booleanfalse
- Default:
Show the default title when you unspecified customize title.
- Type: Array[]
- Default:
Register others custom block.
`html
`
Then you can use the new container in markdown file
`markdown`
::: greet
greeter!
:::
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
docute-custom-container © evillt, Released under the MIT License.
Authored and maintained by EVILLT with help from contributors (list).