@aomao/plugin-hr
TypeScript icon, indicating that this package has built-in type declarations

2.10.1 • Public • Published

@aomao/plugin-hr

分割线插件

安装

$ yarn add @aomao/plugin-hr

添加到引擎

import Engine, { EngineInterface } from '@aomao/engine';
import Hr , { HrComponent } from '@aomao/plugin-hr';

new Engine(...,{ plugins:[Hr] , cards:[HrComponent]})

可选项

快捷键

默认快捷键 mod+shift+e

hotkey?:string;//默认mod+shift+e

//使用配置
new Engine(...,{
    config:{
        "hr":{
            //修改快捷键
            hotkey:"快捷键"
        }
    }
 })

命令

engine.command.execute('hr');

Readme

Keywords

none

Package Sidebar

Install

npm i @aomao/plugin-hr

Weekly Downloads

49

Version

2.10.1

License

MIT

Unpacked Size

27.1 kB

Total Files

12

Last publish

Collaborators

  • aomao