@bytemd/plugin-import-html

ByteMD plugin to import HTML by pasting or dropping

Usage no npm install needed!

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

README

@bytemd/plugin-import-html

npm

ByteMD plugin to import HTML by pasting or dropping

Usage

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

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

License

MIT