@aomao/plugin-unorderedlist

Unordered list plugin

Installation

$ yarn add @aomao/plugin-unorderedlist

Add to engine

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

Optional

Hotkey

Default shortcut key mod+shift+8

//hotkey
hotkey?: string | Array<string>;//default mod+shift+8
//Use configuration
new Engine(...,{
config:{
"unorderedlist":{
//Modify shortcut keys
hotkey: "shortcut key"
}
}
})

Command

//Use command to execute the plugin and pass in the required parameters
engine.command.execute('unorderedlist');
//Use command to execute query current status, return false or current list plugin name unorderedlist tasklist unorderedlist
engine.command.queryState('unorderedlist');