Skip to content

Variable: htmlDocumentTransformer ​

ts
const htmlDocumentTransformer: object;

Defined in: application/services/transformers/document-to-html.ts:95

Object wrapper around documentToHtml that also exposes the default CSS.

Type Declaration ​

defaultCss ​

ts
defaultCss: string = DEFAULT_DOCUMENT_EXPORT_CSS;

transform() ​

ts
transform(documentData, options?): string;

Parameters ​

ParameterType
documentDataany
options?HtmlTransformOptions

Returns ​

string