Delete
import { Delete } from "jsr:@ende/markdown";interface
interface DeleteStrikethrough text, such as ~~this~~. Only parsed with the gfm option.
Example: Usage
import type { Delete } from "@ende/markdown/types";
import { assertEquals } from "@ende/assert";
const node: Delete = { type: "delete", children: [{ type: "text", value: "this" }] };
assertEquals(node.children.length, 1);
Properties
type
type: "delete"Node type.
children
children: PhrasingContent[]The struck-through content.