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

1.0.1 • Public • Published

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

Dependencies (2)

Dev Dependencies (9)

Package Sidebar

Install

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

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

547 kB

Total Files

10

Last publish

Collaborators

  • zerotower