How to use markdown in Cortex XSOAR
Use markdown in Cortex XSOAR 8 SaaS.
You can use Markdown in many places within Cortex XSOAR. Some of the more common places are:
Threat intel reports
Command line interface (CLI)
Scripts
Playbook tasks
Widgets
Incident fields
Lists
In most contexts where Markdown is supported, a Markdown editor is available to help you apply styles and view a preview of how those styles will look.
Markdown Syntax
Most Markdown syntax elements within Cortex XSOAR are identical to those used in basic and extended Markdown syntax. For more information about markdown syntax, see https://www.markdownguide.org/.
The following Markdown elements used in Cortex XSOAR and exposed in the Markdown editor follow the same syntax as basic/extended Markdown:
Bold
Italics
Strike-through
Headings
Lists (unordered/ordered)
Links
Images
Blockquote
Additional elements not exposed in the Markdown editor can also be applied, such as: letter-spacing, text-shadow, font-weight, font-size.
Cortex XSOAR markdown elements
Cortex XSOAR supports additional elements not found in basic/extended Markdown that provide useful functionality when working with Cortex XSOAR. For example:
Underline
+This text will be underlined+
Text alignment
<:-->Left Aligned Text<-:->Center Aligned Text<--:>Right Aligned Text
Highlight text
==This text will be highlighted==
Text color
{{color:#fd0800}}(This text will be in red) OR {{color:red}}(This text will be in red)
Text background color
{{background:#fd0800}}(This text will have red background) OR {{background:red}}(This text will have red background)
Keyboard input style
[[kbd]]
Linking to other Cortex XSOAR incidents
#Incident ID Number
Upload a local image
You can upload a local image that is not available on the internet to the Markdown editor. Copy/paste or drag a local image into the Markdown editor, which automatically applies the standard image syntax and adds a relative path to the image.
Button
%%%{"message": "This is a Button", "action":"Command Name", "params": { "param1": "val1", "param2": "val2"}}%%%
Some extended Markdown syntax may not be supported. For example, checkboxes and footnotes.
Last updated
Was this helpful?
