remark-container
v0.1.2
Published
markdown container like [markdown-it-container](https://github.com/markdown-it/markdown-it-container)
Downloads
918
Maintainers
Readme
Remark Container
markdown container like markdown-it-container
Example
::: tip
content
:::
::: tip title
content
muliti line
:::
Usage
npm install remark-container
or
yarn remark-container
const remark = require('remark')
const html = require('remark-html')
remark()
.use(plugin, opt)
.use(html).process(`
::: tip title
hello
:::
`)
output
<div class="remark-container tip">
<p class="remark-container-title">TITLE</p>
<p>hello</p>
</div>
Options
- className: class for
div
container, defaultremark-container