To preview the documentation locally, you have two ways. Install the docsify dependency or simply server the ./docs
folder with a webserver.
-
With
nodeand thedocsify-cliInstall docsify
npm i
Server docs
npm run start
-
With python
If you already have python installed you can use the
http.servermodule to serve the staticdocsfolder.cd docs && python -m http.server 3000
The files are linted with markdownlint and pretty formatted with prettier. Lint locally with:
-
Install linter and prettier:
npm i
-
Lint
npm run lint
-
Fix auto fixable issues
npm run lint:fix
If you need syntax highlighting for other languages feel free to add the prism.js component to
the index.html file.
- Goto the all supported languages page
- Search for your language
- Open
index.htmland add your language after the others