prepareRender
prepareRender(
source):MdiSyntaxParseResult
Defined in: mdi/src/index.ts:220
Parse once for a host workflow that needs stable diagnostics and source spans before selecting one of the renderer APIs. The returned document is Rust-owned IR and must not be mutated as an input to a renderer.
Parameters
Section titled “Parameters”source
Section titled “source”string