obsidian/functions/stripHeadingForLink
Mock of Obsidian’s stripHeadingForLink.
Functions
Section titled “Functions”| Function | Description |
|---|---|
| stripHeadingForLink | Prepares a heading for use in a link by removing characters that would break it. The mock strips the leading # markers and the whitespace after them, then removes every [, ], |, #, ^ and \. |