Quote style plugin
$ yarn add @aomao/plugin-quote
Add to engine
import Engine, {EngineInterface} from'@aomao/engine';import Quote from'@aomao/plugin-quote';new Engine(...,{ plugins:[Quote] })
The default shortcut key is mod+shift+u
//hotkeyhotkey?: string | Array<string>;//Use configurationnew Engine(...,{config:{"quote":{//Modify shortcut keyshotkey: "shortcut key"}}})
//Use command to execute the plugin and pass in the required parametersengine.command.execute('quote');//Use command to execute query current status, return boolean | undefinedengine.command.queryState('quote');