• Get rendered HTML.

    Parameters

    • options: {
          highlightCode?: boolean;
          includeStyle?: boolean;
          inlineLocalImage?: boolean;
          inlineStyle?: boolean;
          nodeProcessor?: ((node: HTMLElement) => void);
          onlySelected?: boolean;
          preferPng?: boolean;
          uploadLocalImage?: boolean;
          useRemoteSrcOfLocalImage?: boolean;
      } = {}
      • OptionalhighlightCode?: boolean
      • OptionalincludeStyle?: boolean
      • OptionalinlineLocalImage?: boolean
      • OptionalinlineStyle?: boolean
      • OptionalnodeProcessor?: ((node: HTMLElement) => void)
          • (node): void
          • Parameters

            • node: HTMLElement

            Returns void

      • OptionalonlySelected?: boolean
      • OptionalpreferPng?: boolean
      • OptionaluploadLocalImage?: boolean
      • OptionaluseRemoteSrcOfLocalImage?: boolean

    Returns Promise<string>

    HTML