Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

GitHub Handle Links

Updated: 12 Feb 2026

Automatically converts @username mentions into links to GitHub profiles.

Usage

Add to your myst.yml:

project:
  plugins:
    - https://raw.githubusercontent.com/jupyter-book/myst-plugins/main/plugins/github-handle-links/src/index.mjs

Optionally set GITHUB_TOKEN for higher rate limits:

export GITHUB_TOKEN=your_token_here

Example

MyST Demo
Where handles will be added:

- Thanks to @kirstiejane and @mfisher87 for their work on MyST!
- Already-linked handles get an avatar and styling: [@kirstiejane](https://github.com/kirstiejane)

Where they won't:

- Incorrect usernames: @thisuserwontbelinked
- Literal spans: `@usernamesinbackticks`
- Linked handles to non-github urls: [@kirstiejane](https://mystmd.org).


Where handles will be added:

  • Thanks to kirstiejane and mfisher87 for their work on MyST!

  • Already-linked handles get an avatar and styling: @kirstiejane

Where they won’t:

  • Incorrect usernames: thisuserwontbelinked

  • Literal spans: @usernamesinbackticks

  • Linked handles to non-github urls: @kirstiejane.