mind-elixir.options
Home > mind-elixir > Options
Options interface
The MindElixir options
Signature:
export interface Options
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
Alignment |
(Optional) | ||
boolean |
(Optional) | ||
Before |
(Optional) | ||
boolean | ContextMenuOption |
(Optional) | ||
number |
(Optional) | ||
boolean |
(Optional) | ||
boolean |
(Optional) | ||
string | HTMLElement | |||
(this: MindElixirInstance, params: MainLineParams) => PathString |
(Optional) | ||
(this: MindElixirInstance, params: SubLineParams) => PathString |
(Optional) | ||
true | ((e: WheelEvent) => void) |
(Optional) | ||
(url: string) => string |
(Optional) Image proxy function to handle image URLs, mainly used to solve CORS issues If provided, all image URLs will be processed through this function before setting to img src undefined | ||
boolean | KeypressOptions |
(Optional) | ||
(Optional) | |||
(markdown: string) => string |
(Optional) Custom markdown parser function that takes markdown string and returns HTML string If not provided, markdown will be disabled undefined | ||
0 | 2 |
(Optional) | ||
string |
(Optional) | ||
boolean |
(Optional) | ||
number |
(Optional) | ||
number |
(Optional) | ||
number |
(Optional) | ||
string | HTMLElement |
(Optional) | ||
(Optional) | |||
boolean |
(Optional) |