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