Skip to main content

writeLinkTagWithUrlDestination

Summary

Writes a link tag that references an external URL

Signature

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

Parameters

docLinkTag

Type:DocLinkTag The link tag node with a URL destination

context

Type:IMarkdownEmitterContext Emission context

Returns

Type:void Writes a link tag that references an external URL

Remarks

Handles external URL links like \{@link https://example.com\} or \{@link https://example.com | Link Text\}. The link text is normalized (whitespace collapsed) and escaped for safe markdown output. The URL is used as-is. Output format: [Link Text](URL) Subclasses can override this to customize URL link rendering.