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

1.21.0 • Public • Published

@bytemd/plugin-highlight-ssr

npm

ByteMD plugin to highlight code blocks (SSR compatible)

Usage

import highlight from '@bytemd/plugin-highlight-ssr'
import { Editor } from 'bytemd'
import 'highlight.js/styles/default.css'

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

License

MIT

/@bytemd/plugin-highlight-ssr/

    Package Sidebar

    Install

    npm i @bytemd/plugin-highlight-ssr

    Weekly Downloads

    281

    Version

    1.21.0

    License

    MIT

    Unpacked Size

    835 kB

    Total Files

    8

    Last publish

    Collaborators

    • pd4d10