# Markdown Visualization Options

**Component Reference:** Markdown or @splunk/visualizations/markdown

Source: `@splunk/visualization-schemas/markdownOptionsSchema`

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `backgroundColor` | string | `transparent` | Specify the background color using a Hex code such as "#FF0000". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
| `customFontSize` | number | `14` | Specify the font size (in pixels) you would like to use for unformatted text when `fontSize` is set to `custom`. Header elements are calculated with the following formula: h1 = 2 × `customFontSize`, h2 = 1.5 × `customFontSize`, h3 = 1.25 × `customFontSize` |
| `fontColor` | string | `> themes.defaultFontColor` | Specify the text color using Hex codes or RGBA values, such as "#FF0000" or "rgba(25,12,13,0.1)". The default for enterprise light is "#3c444d". The default for enterprise dark is "#FFFFFF". The default for prisma dark is "rgba(255, 255, 255, 0.7)". Pattern: `^#(?:[0-9a-fA-F]{3,4}\|[0-9a-fA-F]{6}\|[0-9a-fA-F]{8})$\|^transparent$\|^rgb\\(\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)$\|^rgba\\(\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d{1,3}%?),\\s*(\\d*(?:\\.\\d+)?)\\)$\|\\$(\\w+:)?([^$\|:]+?)(\\\|[\|\\w]+)?\\$` |
| `fontFamily` | string | `Splunk Platform Sans` | Specify the font family you would like to use for markdown content, such as "Comic Sans MS". Note: the font needs to be available to your end user. Allowed values: `Splunk Platform Sans`, `Splunk Data Sans`, `Splunk Platform Mono`, `Arial`, `Helvetica`, `Times New Roman`, `Comic Sans MS` |
| `fontSize` | string | `default` | Specify the font size you would like to use for markdown content. Font sizes range from extra small (10px for unformatted text) to extra large (18px for unformatted text) with the default being 14px for unformatted text. Allowed values: `extraSmall`, `small`, `default`, `large`, `extraLarge`, `custom` |
| `markdown` | string | — | Add text using basic markdown syntax. |
| `rotation` | number | `0` | Specify the angle of rotation of the markdown content in degrees. |

_Auto-generated; do not edit by hand._
