addSectionLinks - speced/respec GitHub Wiki

addSectionLinks

Type: boolean Default: true

Controls whether § self-link markers are added to section headings, allowing users to link directly to a section.

Basic usage

var respecConfig = {
  addSectionLinks: false,
};

Notes

  • Enabled by default for W3C documents — section markers (§) appear on hover next to each heading
  • Clicking a § link copies the section URL to the clipboard (or navigates to it)
  • Disable if your document uses a custom heading layout where the markers cause visual issues