Skip to content
duxt

Since

The version something arrived in, beside a heading.

Inline. Marks the version a thing arrived in — usable inside a heading.

Usage

Retries
New in v2.0.0

### Retries :since{version="v2.0.0"}

API

Props

PropTypeDefaultNotes
versionstringPrinted as written

Notes

It hangs off the version model rather than repeating it: what the badge says is the version a thing ARRIVED in, which is a fact about the API and not about the page it is documented on — so it stays correct in every version of the docs that carries the sentence.

For anything else, :badge[…] calls the theme's own Badge directly; MDC resolves any globally registered component by name.

Was this page helpful?