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

1.0.2 • Public • Published

@ziuchen/bytemd-plugin-markdown-theme

npm

ByteMD plugin to support custom code markdown theme

Usage

import { Editor } from 'bytemd'
import markdownThemePlugin from '@ziuchen/bytemd-plugin-markdown-theme'
import themes from '@ziuchen/bytemd-plugin-markdown-theme/dist/themes.json'

new Editor({
  target: document.body,
  props: {
    plugins: [
      markdownThemePlugin({
        themes: themes,
      }),
      // ... other plugins
    ],
  },
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @ziuchen/bytemd-plugin-markdown-theme

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

209 kB

Total Files

12

Last publish

Collaborators

  • ziuchen