Skip to main content

Export Markdown

Maven Central

Writeopia comes with a plugin to allow exporting information in some formats, like Markdown. You can add the export library.

implementation("io.writeopia:writeopia-export:[version]") in next version

You can export a document to markdown with the following code:

private fun documentToMd(document: Document): String =
DocumentToMarkdown.parse(document.content)