Markdown constructor
const
Markdown(
- String content, {
- RenderConfig renderConfig = const RenderConfig(),
- MarkdownOptions options = const MarkdownOptions(),
Creates a markdown component with the given content.
The content is parsed and rendered to ANSI-styled output.
Use renderConfig to configure terminal width and background theme.
Use options for additional customization.
Implementation
const Markdown(
this.content, {
this.renderConfig = const RenderConfig(),
this.options = const MarkdownOptions(),
});