content
Home > @gooddata/sdk-ui-vis-commons > ICustomTooltipConfig > content
ICustomTooltipConfig.content property
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Markdown content for the custom tooltip section.
Signature:
content?: string;
Remarks
Supports a subset of Markdown:
- Headings:
#through####- Bold (**text**), italic (*text*) - Unordered lists (- item) and ordered lists (1. item) — not nested - Images () —https:,http:, anddata:image/...URLs only - Links ([text](url)) — rendered as styled text, NOT clickable inside tooltips - Horizontal rules (---) - Backslash escapes (\*,\_,[,\!, etc.) to render a metacharacter as literal text instead of formatting
Not supported: tables, code blocks, blockquotes, nested lists, raw HTML.
Also accepts metric/attribute references ({metric/id}, {label/id}) that resolve dynamically per hovered data point. Resolved values are automatically backslash-escaped, so data containing markdown metacharacters renders as literal text — no manual escaping is required.