Updated: 30 jan 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.mjsOptionally set GITHUB_TOKEN for higher rate limits:
export GITHUB_TOKEN=your_token_hereExample¶
MyST Demo
Thanks to @kirstiejane and @mfisher87 for their work on MyST!
- Incorrect usernames won't be touched: `@usernamesinbackticks`.
- Already-linked usernames won't be touched: [@kirstiejane](https://mystmd.org)Thanks to kirstiejane and mfisher87 for their work on MyST!
Incorrect usernames won’t be touched:
@usernamesinbackticks.Already-linked usernames won’t be touched: kirstiejane
How it works¶
The plugin:
Finds
@handlementions in textValidates handles via GitHub API
Creates profile links automatically
Skips mentions in code blocks
Skips handles already wrapped in links
Filters citation warnings for handled mentions