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

1.1.0 • Public • Published

bytemd-plugin-copy-code

Copy code plugin like juejin editor.

examples

import { Viewer } from "bytemd"
import copyCode from '@zerotower/bytemd-plugin-copy-code';
//your language prefer
import zh_CN from '@zerotower/bytemd-plugin-copy-code/locales/zh_Hans.json';

<
Viewer
plugins = { [copyCode({ locale:zh_CN })] }
/>

Package Sidebar

Install

npm i @zerotower/bytemd-plugin-copy-code

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

33.1 kB

Total Files

11

Last publish

Collaborators

  • zerotower