This example uses a Markdown column to display a category value as a color-coded pill in a table. The field’s value is used as a CSS class name, and the CSS defines a background color, text color, and rounded shape for each possible value.Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.

Setup
In the table visualization, select the column you want to format and set Display as to Markdown. Then add the Markdown template and CSS below. The template sets the field’s value as theclass of a <div> so that the matching CSS rule controls its appearance. Add one CSS class for each possible value in your data—in this example, Builder, Viewer, Analyst, and Admin. The class names must match the values exactly, so this pattern works best for fields with a small, fixed set of values that don’t contain spaces or special characters.
This example references the role field from the saas__users_detailed view using Mustache syntax. Replace these references with your own field.