@bytemd/plugin-vega

ByteMD plugin to support vega charts

Usage no npm install needed!

<script type="module">
  import bytemdPluginVega from 'https://cdn.skypack.dev/@bytemd/plugin-vega';
</script>

README

@bytemd/plugin-vega

npm

ByteMD plugin to support vega charts

Usage

import { Editor } from 'bytemd';
import vega from '@bytemd/plugin-vega';

new Editor({
  target: document.body,
  props: {
    plugins: [
      vega(),
      // ... other plugins
    ],
  },
});

License

MIT