Skip to main content

HTMLtoMD

This Script is part of the Common Scripts Pack.#

Converts HTML to Markdown.

Script Data#


NameDescription
Script Typepython3
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
htmlHTML to convert to Markdown.
escape_miscWhen set to False, will skip escaping of miscellaneous punctuation characters such as &, +, -.

Outputs#


PathDescriptionType
HTMLtoMD.OriginalThe original HTML that was converted to Markdown.String
HTMLtoMD.ResultThe Markdown that was converted from the passed HTML.String