TableCell

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

interface

interface TableCell

A cell of a TableRow.

Example: Usage

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

const node: TableCell = { type: "tableCell", children: [{ type: "text", value: "a" }] };
assertEquals(node.children.length, 1);

Properties

type

type: "tableCell"

Node type.

children

children: PhrasingContent[]

The cell content.

Source