Skip to content

RemarkInternalLinkBase<Type>

The fields of an internal link and an embed.

Import:

import type { RemarkInternalLinkBase } from '@mnaoumov/obsidian-markdown-parser';

Signature:

export interface RemarkInternalLinkBase<Type extends string> extends RemarkNodeBase<Type>

Extends: RemarkNodeBase<Type>

Properties

PropertyTypeDescription
aliasnull | stringThe text after the first |, trimmed, or null without one.
displayTextstringThe text it shows: the alias, or else the target with each run of # made > .
id?stringThe block id attached to it: on a block of the document and a list item, the id of a RemarkBlockId in it.
(Inherited from RemarkNodeBase)
position?RemarkPositionWhere it is in the document.
(Inherited from RemarkNodeBase)
targetstringThe link text before the first |, trimmed, with a final backslash taken off, no-break spaces made spaces, and in Unicode normal form C: the path with its subpath.
typeTypeThe node type.
(Inherited from RemarkNodeBase)

Links to this page: