Skip to content

Instantly share code, notes, and snippets.

@buildmotion
Last active February 1, 2018 06:49
Show Gist options
  • Save buildmotion/465cc94895274df0be545173c54f2717 to your computer and use it in GitHub Desktop.
Save buildmotion/465cc94895274df0be545173c54f2717 to your computer and use it in GitHub Desktop.
IMarkdownEditorOptions.ts
interface Options {
autoDownloadFontAwesome?: boolean;
autofocus?: boolean;
autosave?: AutoSaveOptions;
blockStyles?: BlockStyleOptions;
element?: HTMLElement;
forceSync?: boolean;
hideIcons?: string[];
indentWithTabs?: boolean;
initialValue?: string;
insertTexts?: InsertTextOptions;
lineWrapping?: boolean;
parsingConfig?: ParsingOptions;
placeholder?: string;
previewRender?: (markdownPlaintext: string, previewElement?: HTMLElement) => string;
promptURLs?: boolean;
renderingConfig?: RenderingOptions;
shortcuts?: ShortcutsArray;
showIcons?: string[];
spellChecker?: boolean;
status?: boolean|Array<string|StatusBarItem>;
styleSelectedText?: boolean;
tabSize?: number;
toolbar?: boolean|Array<string|ToolbarIcon>;
toolbarTips?: boolean;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment