Paragraph
import { Paragraph } from "jsr:@ende/markdown";interface
interface ParagraphA paragraph.
Example: Usage
import type { Paragraph } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";
const node: Paragraph = { type: "paragraph", children: [{ type: "text", value: "Hi" }] };
assertEquals(node.children.length, 1);
Properties
type
type: "paragraph"Node type.
children
children: PhrasingContent[]The paragraph content.