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

data-number

Applies to: <p class="issue">, <div class="issue">

Links an inline issue box to a specific GitHub issue number. Requires github to be configured. The issue is titled "Issue N" with a link to the GitHub issue thread.

Usage

<p class="issue" data-number="42">
  <!-- ReSpec fetches and displays the content of issue #42 -->
</p>

Notes

  • When data-number is set, ReSpec fetches the issue content from GitHub and embeds it automatically
  • The element can be left empty — GitHub content is inserted by ReSpec
  • Without data-number, you can still use class="issue" for inline editorial notes without a GitHub link
  • See issue for full documentation of issue boxes

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