writeText

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

Renders this document to a plain-text file and returns the written File.

Parameters

path

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

ctx

shared render configuration