Skip to main content

emit

Summary

Emits markdown content from a DocNode tree. Entry point for the emission process. Delegates to parent class implementation which handles the recursive node traversal via writeNode().

Signature

emit(stringBuilder: StringBuilder, docNode: DocNode, options: ICustomMarkdownEmitterOptions): string;

Parameters

stringBuilder

Type:StringBuilder StringBuilder to accumulate output

docNode

Type:DocNode Root DocNode to emit

options

Type:ICustomMarkdownEmitterOptions Emission options including context API item and filename resolver

Returns

Type:string Emits markdown content from a DocNode tree.Entry point for the emission process. Delegates to parent class implementation which handles the recursive node traversal via .