obsidian/functions/stripHeading
Mock of Obsidian’s stripHeading.
Functions
Section titled “Functions”| Function | Description |
|---|---|
| stripHeading | Normalizes a heading for link matching, as Obsidian does: each character of !"#$%&()*+,.:;<=>?@^`\{|\}~/[]\, and each line break, becomes a space; runs of whitespace collapse to one space; and the result is trimmed. |