Package-level declarations
Types
An interface of providing use case specific un/ordered list handling.
The input for the MarkdownState.
Interface for a state that handles the parsing of markdown content with the MarkdownParser.
Interface to describe the ReferenceLinkHandler
Implementation for ReferenceLinkHandler to resolve referenced link within the Markdown.
The current state of the MarkdownState.
Functions
Transforms a Flow of markdown content strings into a Flow of parsed State for use in non-composable contexts like view models. As soon as the flow is collected, it will start parsing the content, and emit the state once ready.
Creates a kotlinx.coroutines.flow.Flow of State for use in non-composable contexts like view models. As soon as the flow is collected, it will start parsing the content, and emit the state once ready.
A MarkdownState that executes the parsing of the markdown content with the MarkdownParser asynchronously. This version accepts a suspend function block that returns the markdown content, allowing for dynamic loading.
A MarkdownState that executes the parsing of the markdown content with the MarkdownParser asynchronously.