hasWikilinkSyntax
Tests whether a link is a wikilink, possibly embed: [[link]], ![[link]].
Import:
import { hasWikilinkSyntax } from '@mnaoumov/obsidian-lib/link';Signature:
function hasWikilinkSyntax(link: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
link |
string | Link to test |
Returns: boolean — Whether the link is a wikilink
Links to this page: