registerFootnoteLinkHandler
Makes a footnote link in rendered markdown act as it does in a Reading view: a click scrolls to the footnote, or back to its reference, and flashes it, instead of navigating to the link’s # hash.
Registered by registerLinkHandlers, which is the usual way in; call it directly only for an element whose other links are handled some other way.
Import:
import { registerFootnoteLinkHandler } from '@mnaoumov/obsidian-lib/rendered-markdown';Signature:
function registerFootnoteLinkHandler(params: RegisterFootnoteLinkHandlerParams): voidParameters:
| Parameter | Type | Description |
|---|---|---|
params |
RegisterFootnoteLinkHandlerParams | The parameters. |
Returns: void
Links to this page: