Skip to content

vue-styleguidist/remark-plugin-vue-live

Repository files navigation

remark-plugin-vue-live

.github/workflows/ci.yml semantic-release

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);
    }
  );