remark-plugin-vue-live
v1.0.6
Published
Remark plugin to transform fenced code into examples in vue-live
Downloads
12
Maintainers
Readme
remark-plugin-vue-live
A remark plugin make markdown example plugin.
Usage Example
const remark = require("remark");
const plugin = require("remark-plugin-vue-live");
remark()
.use(plugin, { liveFilter: (lang) => /pizza/.test(lang) })
.process(
`
\`\`\`pizza
<comp/>
\`\`\`
`,
(err, file) => {
console.log(file);
}
);