Literal
import { Literal } from "jsr:@ende/markdown";type alias
type Literal = Extract<Nodes, { value: string }>Nodes that have a string value.
Example: Usage
import type { Literal } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";
const node: Literal = { type: "inlineCode", value: "x" };
assertEquals(node.value, "x");