Skip to content

registerLinkHandlers

Registers link handlers for the given element, so its links act as they do in a Reading view: click, mod-click, middle-click, drag, hover preview, the context menu, tags, and footnote links, which scroll to their footnote and back.

Import:

import { registerLinkHandlers } from '@mnaoumov/obsidian-lib/markdown';

Signature:

function registerLinkHandlers(params: RegisterLinkHandlersParams): void

Parameters:

Parameter Type Description
params RegisterLinkHandlersParams The parameters for registering link handlers.

Returns: void


Links to this page: