Tagscript

BuiltinTags

TagScript


Variable: builtinTags

const builtinTags: readonly TagDefinition[]

Defined in: packages/tagscript/src/lib/manifest.ts:159

Every tag the built-in parsers answer to.

None are marked insertable. They all take a payload an author has to write, so an editor is better off letting them type it than inserting a shell. Your own tags, especially ones that stand for a value, are the ones worth offering in a list.

This is only accurate for an interpreter that registered all of them. Build the list from the parsers you actually passed to Interpreter if you registered a subset.

On this page