1.0.2 • Published 1 year ago
@ziuchen/bytemd-plugin-markdown-theme v1.0.2
@ziuchen/bytemd-plugin-markdown-theme
ByteMD plugin to support custom code markdown theme
Usage
import { Editor } from 'bytemd'
import markdownThemePlugin from '@ziuchen/bytemd-plugin-markdown-theme'
import themes from '@ziuchen/bytemd-plugin-markdown-theme/dist/themes.json'
new Editor({
target: document.body,
props: {
plugins: [
markdownThemePlugin({
themes: themes,
}),
// ... other plugins
],
},
})
License
MIT