Skip to content
Sid Vishnoi edited this page May 12, 2020 · 11 revisions

The mdn configuration option

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

Example of usage

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 custom key as:

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

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