importMarkdown
fun importMarkdown(markdownText: String, paragraphSeparator: ParagraphSeparator = markdownConfiguration.paragraphSeparator)(source)
Replaces the document with markdownText. paragraphSeparator says how the text's blank lines are read (see ParagraphSeparator); it defaults to the configuration's, and a host opening a file written under the other rule passes that rule here.