Markdown
Renders styled text using the Markdown format, with optional inline images.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| part | String | The name of the part, where the markdown can be loaded from a file. For example: home.md which normally will be stored in the parts folders. Like parts-de|parts-en. The part for the actual language will be loaded automatically. That means in case of a mobile app the markdown will be loaded from parts-es in case Spanish is the selected language and parts-en if the selected language is English. | |
| text | String | The Markdown content to render. Images using ‚![]()‘ are supported. | |
| color | String | #000000 | Text color. Example: ‚#333333‘ or color name like ‚onBackground‘. |
| fontSize | Int | 14 | Font size in sp. |
| fontWeight | String | Normal | Font weight. Example: Normal, Bold, Medium, etc. |
| textAlign | String | Left | Text alignment: Left, Center, Right, Justify. |
| paddingStart | Int | 0 | Start padding in dp. |
| paddingTop | Int | 0 | Top padding in dp. |
| paddingBottom | Int | 0 | Bottom padding in dp. |
