Strong

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

interface

interface Strong

Strong emphasis, such as **this**.

Example: Usage

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

const node: Strong = { type: "strong", children: [{ type: "text", value: "this" }] };
assertEquals(node.children.length, 1);

Properties

type

type: "strong"

Node type.

children

children: PhrasingContent[]

The strongly emphasized content.

Source