@aomao/plugin-quote

Quote style plugin

Installation

$ yarn add @aomao/plugin-quote

Add to engine

import Engine, {EngineInterface} from'@aomao/engine';
import Quote from'@aomao/plugin-quote';
new Engine(...,{ plugins:[Quote] })

Optional

Hotkey

The default shortcut key is mod+shift+u

//hotkey
hotkey?: string | Array<string>;
//Use configuration
new Engine(...,{
config:{
"quote":{
//Modify shortcut keys
hotkey: "shortcut key"
}
}
})

Command

//Use command to execute the plugin and pass in the required parameters
engine.command.execute('quote');
//Use command to execute query current status, return boolean | undefined
engine.command.queryState('quote');