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.

MyST GitHub

MyST plugins for working with GitHub content in your documents, bundled as a single plugin:

Usage

Reference the released plugin bundle in your myst.yml:

project:
  plugins:
    - https://github.com/myst-contrib/myst-github/releases/latest/download/index.mjs

To pin a specific version, swap latest/download for a tag, e.g. download/v0.1.0.

Tokens and caching

The plugins use the GitHub API, so set a GITHUB_TOKEN environment variable to avoid rate limits:

export GITHUB_TOKEN=ghp_...

API responses are cached in _build/cache/ for 24 hours, so repeated builds don’t re-fetch the same data.