Skip to content
Sid Vishnoi edited this page Jul 8, 2020 · 3 revisions

Configuring ReSpec (respecConfig)

Configuring ReSpec is straight forward. Simply place a <script class=remove> at the top of your document and create an object called respecConfig. The remove class tells ReSpec to remove this element from the final specification.

The respecConfig object literal provides ReSpec with the metadata needed to process your document. ReSpec looks for this object on the window object.

<script class="remove">
  var respecConfig = {
    specStatus: "FPWD",
    editors: [{ name: "Margarete Smith", url: "http://example.com/" }],
    processVersion: 2015,
    shortName: "super-feature",
  };
</script>

Guides

Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements

WebIDL

HTML attributes

CSS Classes

Special properties

Clone this wiki locally