02ebc5dd67 | ||
---|---|---|
.. | ||
src | ||
README.md | ||
package.json | ||
tsconfig.json |
README.md
@bytemd/plugin-highlight
ByteMD plugin to highlight code blocks
Usage
import highlight from '@bytemd/plugin-highlight'
import { Editor } from 'bytemd'
import 'highlight.js/styles/default.css'
new Editor({
target: document.body,
props: {
plugins: [
highlight(),
// ... other plugins
],
},
})
License
MIT