Skip to main content

MarkdownToHTML

This Script is part of the Community Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.2.0 and later.

Converts Markdown to HTML.

Script Data#


NameDescription
Script Typepython3
Tagsmarkdown, HTML
Cortex XSOAR Version6.2.0

Inputs#


Argument NameDescription
textMarkdown Text to transform.
convertOnlyMarkdownIf True - The markdown text will be converted to HTML without a Full HTML structure.
prettifyHTMLIf True - The resulted HTML will be nicely formatted as a Unicode string, with a separate line for each tag and each string.

Outputs#


PathDescriptionType
MarkdownToHTMLThe MarkdownToHTML script's resultsDict