docx
    Preparing search index...

    Type Alias HtmlWarningCode

    HtmlWarningCode:
        | "unsupported-element"
        | "missing-image"
        | "unsupported-image"
        | "unsafe-link"
        | "invalid-math"
        | "too-deep"
        | "block-in-paragraph"
        | "table-in-note"

    What kind of thing a warning is about

    Type Declaration

    • "unsupported-element"

      An element the document can't have, such as <video> or <iframe>, which is left out

    • "missing-image"

      An image whose data isn't in the HTML or the images option, which is left out

    • "unsupported-image"

      An image in a format Word can't show, such as WebP, or data that isn't an image, which is left out

    • "unsafe-link"

      A link to a javascript: address, or another that could run code, whose text is kept without the link

    • "invalid-math"

      Math that can't be read, whose text is kept

    • "too-deep"

      Content in more than a thousand elements in each other, whose text is kept without its formatting

    • "block-in-paragraph"

      A table, list or other block in HTML given to htmlToRuns, whose content is kept in the paragraph

    • "table-in-note"

      A table in a note, whose cells' paragraphs are kept in the footnote or endnote without it