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

A person object is a JavaScript object literal with the following properties:

name (required)
The name of the person.
url
The URL for the person, can be used to point to the person's personal site.
company
The company for which the person is working.
companyURL
The URL for the above company.
mailto
An email with which to contact the person.
note
Additional information on the person, often used to indicate a former employer (if the person switched companies during edition) or to clarify that an editor is no longer active even if her name is still attached to the document out of respect for her past contributions.
w3cid
Numeric id of the editor profile in W3C (W3C account holders can find their id by visiting their W3C profile); it is used by the W3C publication system to associate specifications with their editors.
extras
Array of objects consisting of the name, href, and class entries. The generated content is a sequence of elements the form <span class="class><a href=" href">name</a></span> added to the end of the person's entry. Can be used to add, e.g., the twitter account, ORCID ID, etc., of the person.

This example shows a group of person objects being used to define the editors of a spec.

var respecConfig = {
  editors: [
    {
      name: "Marcos Caceres",
      company: "Mozilla Corporation",
      companyURL: "https://mozilla.org/",
      w3cid: 39125,
    },
    {
      name: "Kenneth Rohde Christiansen",
      company: "Intel Corporation",
      companyURL: "http://intel.com",
      w3cid: 57705,
    },
    {
      name: "Mounir Lamouri",
      company: "Google Inc.",
      companyURL: "https://google.com",
      w3cid: 45389,
    },
    {
      name: "Anssi Kostiainen",
      company: "Intel Corporation",
      companyURL: "http://intel.com",
      w3cid: 41974,
    },
  ],
};

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