To preview the documentation locally, you have two ways. Install the docsify dependency or simply server the ./docs
folder with a webserver.
-
With
node
and thedocsify-cli
Install docsify
npm i
Server docs
npm run start
-
With python
If you already have python installed you can use the
http.server
module to serve the staticdocs
folder.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.html
and add your language after the others