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

gh-contributors

Automatically populates an element with a list of GitHub contributors to the repository. Requires github to be configured.

Add an element with id="gh-contributors" anywhere in the document — ReSpec replaces its content with a list of contributors linked to their GitHub profiles.

Usage

<section>
  <h2>Contributors</h2>
  <p>We thank the following contributors:</p>
  <ul id="gh-contributors"></ul>
</section>
<p>
  Also thanks to: <span id="gh-contributors"></span>.
</p>

Notes

  • Contributors are sorted alphabetically by GitHub username or display name
  • Requires github to be configured in respecConfig
  • Fetches contributor data from the GitHub API — contributors list may be large for active repositories

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