data number - speced/respec GitHub Wiki
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-numberis 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 useclass="issue"for inline editorial notes without a GitHub link - See
issuefor full documentation of issue boxes