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