Text
import { Text } from "jsr:@ende/markdown";interface
interface TextPlain text.
Example: Usage
import type { Text } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";
const node: Text = { type: "text", value: "Hello" };
assertEquals(node.value, "Hello");
Properties
type
type: "text"Node type.
value
value: stringThe text, with entities and backslash escapes decoded.