writeMarkdown

fun ReportNode.Document.writeMarkdown(path: Path? = null, ctx: RenderContext? = null): File(source)

Renders this document to a Markdown file and returns the written File.

Parameters

path

output file path; defaults to ctx.outputDir/<sanitised-title>.md

ctx

shared render configuration