Skip to content

citations.ts#

View Markdown

Source

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

1 symbols 1 functions 2 parameters 1 returns

Reference#

fnisLinkLabel(markdown: string, match: RegExpMatchArray): booleanA bracketed span that a destination or reference immediately follows is a Markd…

A bracketed span that a destination or reference immediately follows is a Markdown link label, not a citation group.

The HTML pass never sees these — by then the label is inside an <a> and has no brackets left — but the search-index pass reads the Markdown source, where a linked scoped package name is indistinguishable from a citation by its opening @ alone. [@ox-content/vite-plugin](./packages/vite-plugin.md) reported a malformed citation and failed the whole index.

Signature

function isLinkLabel(markdown: string, match: RegExpMatchArray): boolean

View source

Parameters

  • markdown string
  • match RegExpMatchArray

Returns

boolean