withMarkdown
fun SpellCheckState.withMarkdown(initialConfiguration: MarkdownConfiguration = MarkdownConfiguration.DEFAULT, imageProvider: ImageProvider? = null): MarkdownExtension(source)
Enable markdown import and export on a spell-checked editor.
Builds a MarkdownExtension over this SpellCheckState's underlying text state, letting the editor parse markdown into rich text and serialize it back out while spell checking remains active.
Return
A MarkdownExtension bound to this editor's text state.
Parameters
initialConfiguration
The initial MarkdownConfiguration controlling markdown styling.
imageProvider
Optional ImageProvider used to resolve images referenced in markdown.