Skip to content
Marcos Caceres edited this page Mar 28, 2026 · 7 revisions

.override

⚠️ Last resort only. Adding class="override" to a section that ReSpec would normally auto-generate replaces the generated content entirely with your custom content.

Usage

<section id="sotd" class="override">
  <h2>Status of This Document</h2>
  <p>This document is an experimental draft for discussion only.</p>
</section>

Sections that can be overridden

  • <section id="sotd"> — Status of This Document
  • <section id="conformance"> — Conformance

Notes

  • Only use when ReSpec's generated boilerplate is genuinely inappropriate for your document
  • Overriding sotd bypasses the standard W3C status boilerplate — you are responsible for all required W3C publication text
  • Most cases where you want to customize SotD can be handled by adding content to the section without the .override class — ReSpec will prepend the boilerplate and keep your content

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