- getContentHtml(options?): Promise<string>
Parameters
- options: {
highlightCode?: boolean;
includeStyle?: boolean;
inlineLocalImage?: boolean;
inlineStyle?: boolean;
nodeProcessor?: ((node: HTMLElement) => void);
onlySelected?: boolean;
preferPng?: boolean;
uploadLocalImage?: boolean;
useRemoteSrcOfLocalImage?: boolean;
} = {}Optional
highlightCode?: boolean
Optional
includeStyle?: boolean
Optional
inlineLocalImage?: boolean
Optional
inlineStyle?: boolean
Optional
nodeProcessor?: ((node: HTMLElement) => void)
Optional
onlySelected?: boolean
Optional
preferPng?: boolean
Optional
uploadLocalImage?: boolean
Optional
useRemoteSrcOfLocalImage?: boolean
Returns Promise<string>
HTML
Get rendered HTML.