Split line plugin
$ yarn add @aomao/plugin-hr
Add to engine
import Engine, {EngineInterface} from'@aomao/engine';import Hr, {HrComponent} from'@aomao/plugin-hr';new Engine(...,{ plugins:[Hr], cards:[HrComponent]})
Default shortcut key mod+shift+e
hotkey?:string;//default mod+shift+e//Use configurationnew Engine(...,{config:{"hr":{//Modify shortcut keyshotkey: "shortcut key"}}})
//Can carry two parameters, language type, default text, all are optionalengine.command.execute('hr');