1.21.4 • Published 1 year ago
@flicmd/bytemd-plugin-highlight v1.21.4
@flicmd/bytemd-plugin-highlight
ByteMD plugin to highlight code blocks
Usage
import { Editor } from '@flicmd/bytemd'
import highlight from '@flicmd/bytemd-plugin-highlight'
import 'highlight.js/styles/default.css'
new Editor({
target: document.body,
props: {
plugins: [
highlight(),
// ... other plugins
],
},
})
License
MIT