Skip to content

hasEmbedSyntax

Tests whether a link is an embed link: ![[link]], ![title](link).

Import:

import { hasEmbedSyntax } from '@mnaoumov/obsidian-lib/link';

Signature:

function hasEmbedSyntax(link: string): boolean

Parameters:

Parameter Type Description
link string Link to test

Returns: boolean — Whether the link is an embed link


Links to this page: