Skip to content
Sid Vishnoi edited this page Nov 5, 2020 · 11 revisions


Configuration options

W3C Configuration options

Linter rules

Internal properties

Handled by ReSpec for you.

Special <section> IDs

HTML elements

Custom Elements


HTML attributes

CSS Classes

Special properties

Clone this wiki locally


The mdn option allows a spec to be annotated with links to MDN developer documentation.

If a boolean is provided, it uses spec's shortName to match data over on MDN.

var respecConfig = {
  shortName: "payment-request",
  mdn: true,

If the shortName doesn't match the MDN key, you can provide a key as:

var respecConfig = {
  mdn: "payment-request",

The key can be found at For example, the key is "image-capture" in the following entry:

"": "image-capture.json",

It renders as panels near relevant definitions in the right-side of the document:

MDN panel demo in ReSpec