Text * Markdown
Type:
markdown• Category:visualization• Tags:text,markdown
Description
Render markdown text widget
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
widgetId | hidden | no | ||
textExpr | string | Expr -> value (converted to string) | no | |
text | string | Direct text (used if no textExpr) | no | |
fontSize | string | Font size for markdown rendering (e.g. '14px', '1em'). Leave empty for default. | no | "" |
Help
Markdown Worker - Rich Text Display
Render formatted text using Markdown syntax with support for expressions and custom styling.
Content Sources:
- textExpr: Expression that returns text content (takes precedence)
- text: Direct markdown text (used when no expression)
- fontSize: Custom font size (e.g., '14px', '1.2em', 'small')
Markdown Features:
- Headers: # ## ### for different heading levels
- Formatting: italic, bold,
code,strikethrough - Lists: - Unordered and 1. Ordered lists
- Links:
[text](url)and automatic URL detection - Code blocks:
language code - Tables: | col1 | col2 | with alignment support
- Blockquotes: > quoted text
Features:
- Expression support: Dynamic content from workflow data
- Custom styling: Adjustable font sizes
- Safe rendering: Sanitized HTML output
- Responsive: Adapts to container width
Examples:
- Static text: text="# Dashboard\n\nWelcome to your analytics dashboard"
- Dynamic content: textExpr="f'Current value: {data.value}'"
- Status report: textExpr="generate_status_report(data)"
Use Cases:
- Dashboard headers and descriptions
- Status messages and alerts
- Documentation and help text
- Formatted data summaries
- Rich notifications