MarkdownPreviewRenderer.getInternalLinkHref method
MarkdownPreviewRenderer › getInternalLinkHref
Unofficial
Gets the internal-link href for an element, if it belongs to this renderer.Signature:
getInternalLinkHref(el: HTMLElement): null | stringParameters:
| Parameter | Type | Description |
|---|---|---|
| el | HTMLElement | The element to read the href from. |
Returns: null | string — The href, or null if not an internal link belonging to this renderer.