@bytemd/plugin-highlight

ByteMD plugin to highlight code blocks

Usage no npm install needed!

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

README

@bytemd/plugin-highlight

npm

ByteMD plugin to highlight code blocks

Usage

import { Editor } from 'bytemd'
import highlight from '@bytemd/plugin-highlight'

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

License

MIT