Raxol.UI.Components.MarkdownRenderer (Raxol v0.4.0)
View SourceRenders Markdown text into Raxol elements or raw HTML.
Requires the earmark
dependency.
Summary
Functions
Handles events for the MarkdownRenderer component. No events are handled by default.
Initializes the MarkdownRenderer component state from props.
Callback implementation for Raxol.UI.Components.Base.Component.mount/1
.
Renders the given Markdown string.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1
.
Updates the MarkdownRenderer component state. No updates are handled by default.
Functions
Handles events for the MarkdownRenderer component. No events are handled by default.
Initializes the MarkdownRenderer component state from props.
Callback implementation for Raxol.UI.Components.Base.Component.mount/1
.
Renders the given Markdown string.
Callback implementation for Raxol.UI.Components.Base.Component.unmount/1
.
Updates the MarkdownRenderer component state. No updates are handled by default.