MarkdownText
A widget that renders a data string of light Markdown as styled
terminal cells.
See also: MarkdownView for full documents.
Import: package:fleury/fleury.dart, or package:fleury/fleury_core.dart in browser code.
MarkdownText('''## Release
- **Checks:** passing- [Open the docs](https://example.com)''')Details
Section titled “Details”Use baseStyle to set the default cell style for the block
(e.g. dim for help text). Inline overrides cascade on top.
Constructors
Section titled “Constructors”MarkdownText()
Section titled “MarkdownText()”| Parameter | Type | Default | Description |
|---|---|---|---|
data | String | required | Light Markdown source rendered by this widget. |
baseStyle: | CellStyle? | — | Base cell style inherited by the rendered Markdown spans. |
inlineLinkUrls: | bool | true | Whether a link keeps its inspectable (url) suffix after the text. More |
inlineLinkUrls: Default true: the destination stays visible on terminals that don’t honor OSC 8 and auditable everywhere. Set false for the clean-link look — but the suffix is only dropped when the link is actually live (a real OSC 8 / anchor target was emitted, which makes the visible url redundant). A link that fell back to plain text — unsupported surface or un-allow-listed scheme — always keeps its url, so a destination is never hidden behind a link that doesn’t work.
Source
Section titled “Source”MarkdownText is defined in packages/fleury/lib/src/catalog/markdown_text.dart.
Category: Text & content · All widgets