Recommend enable Windows feature Windows Subsystem for Linux and then the Ubuntu image from Microsoft Store.
In VS Code, you can install the plugins:
Remote - WSL Markdown Preview Enhanced Markdown Preview Mermaid
To see what you are doing as you work.
install yarn, node and npm
yarn inside the git repository to download all Node dependencies.
Installing the remark-mermaid plugin
You don't need to re-do this. But here are my configuration notes:
to create mermaid graphs, use remark-mermaid plugin. This should install when you run
To build on your environment, you need to install dependencies for chrome-headless
How I enabled the mermaid plugin (don't need to re-do this step)
At top of file, add
const mermaid = require('remark-mermaid')
In the "docs" block, add
See https://mdxjs.com/advanced/plugins which explains how remark plugins work. Not explained in Docusaurus documentation.