Specific Markdown supported?
cancel
Showing results for 
Search instead for 
Did you mean: 

Specific Markdown supported?

L2 Linker

Is there a document pointing to the specific Markdown functionality that XSOAR supports?  There seem to be lots of variants on Markdown.

1 ACCEPTED SOLUTION

Accepted Solutions

As @jgomes stated Markdown basic syntax is supported and some of the extended syntax, see here https://www.markdownguide.org/extended-syntax.
Supported:

- Tables

- Fenced code blocks

- Emojis

 

View solution in original post

3 REPLIES 3

L1 Bithead
Hi, XSOAR supports standard Markdown.
 
Here are some examples working with JSON data objects:
 
readable_output = f'## {result}'
outputs = {
'name': name,
'hello': result
}
 
results = CommandResults(
outputs_prefix='HelloWorld.Result',
outputs_key_field='name',
outputs=outputs,
readable_output=readable_output,
raw_response=result
)
 
return results

 

 

name = 'Sample Table'
t = {'first':'Foo', 'second': 'bar', 'third': 'baz', 'forth': ''}
headers = ['Input', 'Output']
tableToMarkdown(name, t, headers=headers, removeNull=True)

 

Interesting, as I've noticed some differences between XSOAR and that guide.

 

For instance, that guide lists tables as extended (not basic), but XSOAR does support Markdown tables.

 

Also, that guide is sometimes vague.  For instance, it notes that some Markdown applications support some HTML tags.  I'd rather not engage in trial-and-error to figure out which ones I can use.  Is there a comprehensive guide to the Markdown used in XSOAR?

As @jgomes stated Markdown basic syntax is supported and some of the extended syntax, see here https://www.markdownguide.org/extended-syntax.
Supported:

- Tables

- Fenced code blocks

- Emojis

 

View solution in original post

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!