Skip to main content

writeLinkTagWithCodeDestination

Summary

Writes a link tag that references a code symbol

Signature

protected writeLinkTagWithCodeDestination(docLinkTag: DocLinkTag, context: IMarkdownEmitterContext): void;

Parameters

docLinkTag

Type:DocLinkTag The link tag node with a code destination

context

Type:IMarkdownEmitterContext Emission context

Returns

Type:void Writes a link tag that references a code symbol

Remarks

This virtual method must be implemented by subclasses to handle code references like \{@link MyClass\} or \{@link MyClass.method\}. The base class throws an error because code destination handling requires: - Resolving the symbol to a file path - Generating appropriate relative URLs - Determining if the symbol exists in the current documentation set See CustomMarkdownEmitter.writeLinkTagWithCodeDestination() for an implementation.