stripHeadingForLink
Call Signature
Section titled “Call Signature”stripHeadingForLink(
heading
):string
Defined in: obsidian.d.ts:3987
Prepares headings for linking by stripping out some bad combinations of special characters that could break links.
Parameters
Section titled “Parameters”heading
Section titled “heading”string
Returns
Section titled “Returns”string
Call Signature
Section titled “Call Signature”stripHeadingForLink(
heading
):string
Defined in: src/obsidian/augmentations/functions.d.ts:752
Prepares headings for linking by stripping out some bad combinations of special characters that could break links.
Parameters
Section titled “Parameters”heading
Section titled “heading”string
The heading to prepare.
Returns
Section titled “Returns”string
The prepared heading.
Example
Section titled “Example”console.log(stripHeadingForLink('foo:#|^\\\r\n%%[[]]bar')); // foo bar