respec-gh-issues is a small JavaScript script that can be embedded in a ReSpec spec. Provided with the adequate configuration options, it lets you reference GitHub issues by their number, and dynamically fills in the spec with the issue title and body.
These are the respecConfig
options you need to add:
respecConfig.issueBase = "https://www.github.com/{user}/{repo}/issues/";
respecConfig.issueAPI = "https://api.github.com/repos/{user}/{repo}/issues";
To reference an issue, just:
<div class="issue" data-number="{issue number}"></div>
Of course, don't forget to reference the script itself:
<script src="https://tobie.github.io/respec-gh-issues/respec-gh-issues.js" async class="remove"></script>