@zerotower/bytemd-plugin-switch-highlight
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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"/>

Package Sidebar

Install

npm i @zerotower/bytemd-plugin-switch-highlight

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

7.12 kB

Total Files

9

Last publish

Collaborators

  • zerotower