withMarkdown
fun TextEditorState.withMarkdown(initialConfiguration: MarkdownConfiguration = MarkdownConfiguration.DEFAULT, imageProvider: ImageProvider? = null): MarkdownExtension(source)
Wraps this TextEditorState in a MarkdownExtension, the entry point for markdown import and export. The styles are the state's richTextStyles; assign them before importing.
Parameters
initialConfiguration
The syntax choices to write in and read by default.
imageProvider
Resolves image sources for imported image blocks; pass null to skip image handling.