Unable to Control Column Width in Markdown Tables in XSOAR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Unable to Control Column Width in Markdown Tables in XSOAR

L2 Linker

I am trying to create a table using Markdown in Cortex XSOAR, but I can't control the width of the columns. I need to make one column wider than the others. However, Markdown in XSOAR seems to automatically adjust the width based on the content, and I can't find a way to set fixed column widths.

What I've Tried:

  • Standard Markdown table formatting.
  • Python formatting with ljust() or rjust() to set column sizes.
3 REPLIES 3

L0 Member

Same issue here, the width of the columns should be adjustable. e.g.

| <div style="width:290px">property</div> | description                           |
| --------------------------------------- | ------------------------------------- |

 

L1 Bithead

@SanDev @M.Vahe An alternative solution would be to use an html field and create a table there. You have a lot more control using this approach. 

I did go that route, but html doesn't have the flexibility markdown has - ordering by column, export to csv, easier to setup, markdown buttons(very op!)

  • 453 Views
  • 3 replies
  • 1 Likes
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!