Skip to content
Marcos Caceres edited this page Mar 27, 2026 · 14 revisions

doJsonLd

Type: boolean Default: false

Adds a <script type="application/ld+json"> element with schema.org metadata describing the document. Useful for search engine discoverability.

Basic usage

var respecConfig = {
  doJsonLd: true,
  canonicalURI: "TR",
  license: "w3c-software-doc",
};

Notes

  • Also requires canonicalURI and license to be set for the JSON-LD to be complete
  • Generated metadata includes: document title, editors, abstract, citations, publish date, copyright
  • The JSON-LD uses the TechArticle schema.org type

Guides

Configuration options

W3C Configuration options

Linting 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