@zerotower/bytemd-plugin-switch-highlight
v1.0.2
Published
Switching markdown Viewer component's code highlight like juejin editor.
Downloads
4
Maintainers
Readme
bytemd-plugin-switch-highlight
This is a plugin for bytemd editor, for achieving switch Viewer's theme like juejin editor.
example
import switchTheme from "@zerotower/bytemd-plugin-switch-theme"
import {Viewer} from "@bytemd/vue-next"
const plugins =[
...,//other plugins
switchTheme()
]
<Viewer :content="content" :plugins="plugins"/>