This repository contains two things:
- A react renderer for MyST AST and content, so you can render MyST node types as React components.
- A book theme and an article theme that use this renderer along with Remix to create two different website experiences using the react components.
It also serves as the reference documentation for these themes at the URL below:
https://myst-theme.netlify.app/
Note: This builds against the
mainbranch ofmystmd. This allows us to test out new theme features against the latest version of the MyST Engine.
You can also find a storybook site for the MyST Theme components to see the style and structure of components.
All dependencies for myst-theme are included in this repository (a monorepo!).
The core themes are also included in this repository to aid in development.
See the local development docs.
See the architecture and tools guide.
To update the theme components on NPM:
npm run version
npm run publishTo update the themes for use with the MyST CLI:
make deploy-book
make deploy-articleThis updates the git repository, and sometimes is a large diff and can cause git to hang, if that happens this command can help change the buffer size when sending the diff to GitHub:
git config --global http.postBuffer 157286400