DefinitionContent

import { DefinitionContent } from "jsr:@ende/markdown";

type alias

type DefinitionContent = FootnoteDefinition

Definitions, which can appear in a block container next to BlockContent. Link reference definitions are resolved while parsing, so the only definition in the tree is FootnoteDefinition.

Example: Usage

import type { DefinitionContent } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";

const node: DefinitionContent = { type: "footnoteDefinition", identifier: "a", label: "a", children: [] };
assertEquals(node.type, "footnoteDefinition");

Source