---
url: /reference/@cssdoc/spec.md
---
# @cssdoc/spec

`@cssdoc/spec` — the canonical cssdoc tag vocabulary. This is the single source of truth for the
doc-comment tags: their names, syntactic kinds, aliases, and (for the three argument-bearing tags)
the shape of the argument they take. Everything that needs to know "what are the cssdoc tags"
derives it from here:

* `@cssdoc/core` seeds its [parser configuration](https://cssdoc.dev) from [CSSDOC_TAGS](variables/CSSDOC_TAGS.md).
* `@cssdoc/tmlanguage` generates its TextMate grammar from it.
* `@cssdoc/codemirror` builds its highlighter's matcher from it.

The package is intentionally zero-dependency and data-only, so a syntax grammar can consume the
vocabulary without pulling in the CSS parser.

## Interfaces

* [CssdocTag](interfaces/CssdocTag.md)

## Type Aliases

* [CssdocRecordKind](type-aliases/CssdocRecordKind.md)
* [CssdocTagArgument](type-aliases/CssdocTagArgument.md)
* [CssdocTagKind](type-aliases/CssdocTagKind.md)

## Variables

* [CSSDOC_TAG_NAMES](variables/CSSDOC_TAG_NAMES.md)
* [CSSDOC_TAGS](variables/CSSDOC_TAGS.md)
* [HTML_ELEMENT_GROUPS](variables/HTML_ELEMENT_GROUPS.md)
* [HTML_ELEMENT_NAMES](variables/HTML_ELEMENT_NAMES.md)

## Functions

* [cssdocTagNamesByArgument](functions/cssdocTagNamesByArgument.md)
* [cssdocTagNamesByKind](functions/cssdocTagNamesByKind.md)
