State

sealed interface State

The current state of the MarkdownState.

Inheritors

Types

Link copied to clipboard
data class Error(val result: Throwable, val referenceLinkHandler: ReferenceLinkHandler = ReferenceLinkHandlerImpl()) : State

The parsing failed due to Throwable.

Link copied to clipboard
data class Loading(val referenceLinkHandler: ReferenceLinkHandler = ReferenceLinkHandlerImpl()) : State

The parsing is in-progress.

Link copied to clipboard
data class Success(val node: ASTNode, val content: String, val linksLookedUp: Boolean, val referenceLinkHandler: ReferenceLinkHandler = ReferenceLinkHandlerImpl()) : State

The parsing was successful.

Properties

Link copied to clipboard