Skip to content
Ivan Herman edited this page Feb 8, 2017 · 16 revisions

A person object (used for editors authors) contains the following fields (most of the fields are straightforward). Only the name field is required.

name
Name of the person
mailto
email address (turned into a mailto URL by respec)
url
home page of the author
company
company name
companyUrl
url of the company
w3cid
identifier of the persons’ W3C account, if applicable. (This id can be found through the “my profile” URL that will be redirected to the user’s page; the id appears in the address bar).
note
any text in this field will appear at the end of the person’s identification in parenthesis
extras
refers to an array of extras (see below) objects, displayed at the end of the person's identification

The “extras” are objects, each rendered as a separate span element, with the following fields:

name
the content of the resulting span; this can contain html elements
class
a value of the class attribute added to the enclosing span (can be used for styling)
href
if set, the content within the enclosing span is turned into an active link pointing to the value of href

A simple example:

{   
	name:       "Benjamin Young",
	company:    "John Wiley & Sons, Inc.",
	companyURL: "http://www.wiley.com/",
	mailto:     "byoung@bigbluehat.com",
	w3cid:      65468
}

A more complex example, using the extras field to include a reference to the person’s ORCID id (with a logo):

{              
	name:       "Ben De Meester",
	mailto:     "ben.demeester@ugent.be",
	company:    "Ghent University - iMinds - Data Science Lab",
	companyURL: "http://www.iminds.be/",
	url:        "http://users.ugent.be/~bjdmeest/",
	extras: [{
		name:  "<img src='figures/orcid_logo.png' alt='orcid logo'/>",
		href:  "http://orcid.org/0000-0003-0248-0987",
		class: "orcid"
	}],
	w3cid:      "73403"
}

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