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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    54
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    54
  • 1.0.0
    8

Package Sidebar

Install

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

Weekly Downloads

62

Version

1.0.1

License

MIT

Unpacked Size

547 kB

Total Files

10

Last publish

Collaborators

  • zerotower