Skip to content

block-structure.ts#

View Markdown

Source

2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

2 symbols 1 functions 1 variables 1 returns

Reference#

fnblockEmbedTags(): Promise<ReadonlySet<string>>Every tag whose embed is a block, taken from the registry rather than copied. A…

Every tag whose embed is a block, taken from the registry rather than copied.

A hand-kept copy drifts, and the drift is not cosmetic: the seven providers added after this list was written -- note among them -- stayed inside their paragraph, and a card whose outer element is an <a> wrapping <div>s does not survive that. The parser closes the paragraph at the first <div> and reopens the anchor around each block it held, so one card came out as an empty link followed by three underlined ones with no card chrome at all.

Signature

async function blockEmbedTags(): Promise<ReadonlySet<string>>

View source

Returns

Promise<ReadonlySet<string>>
variableconst TYPESCRIPT_ONLY_BLOCK_EMBED_TAGS = ["github", "ogcard", "reddit", "youtube"] as constBlock embeds this package owns, which the Rust provider registry cannot name. N…

Block embeds this package owns, which the Rust provider registry cannot name.

NotByAI is deliberately absent: the badge is an inline mark on the sentence that carries it, so lifting it out of its paragraph would break the line it belongs to.

Signature

const TYPESCRIPT_ONLY_BLOCK_EMBED_TAGS = ["github", "ogcard", "reddit", "youtube"] as const

View source