Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt

Use this file to discover all available pages before exploring further.

emit

Summary

Converts a TSDoc node tree to markdown text

Signature

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

Parameters

stringBuilder

Type:StringBuilder Output buffer to write markdown to

docNode

Type:DocNode Root TSDoc node to emit

options

Type:IMarkdownEmitterOptions Emission configuration options

Returns

Type:string Converts a TSDoc node tree to markdown text

Remarks

This is the main entry point for markdown emission. It initializes the emission context (writer, formatting state) and recursively processes the node tree. The output is automatically terminated with a newline.