A Miso app that generates a documentation from MD files (inspired by mdBook).
Use the commonmark-hs markdown implementation.
-
install Nix Flakes
-
install Cachix
-
use miso's cachix:
cachix use haskell-miso-cachixnix develop .#wasm --command bash -c "make && make serve"
or (dev):
nix develop .#wasm
make build && make serve
nix develop .#wasm --command bash -c "make"
nix-build docker.nix
docker load < result
docker run --rm -it -p 3000:3000 misodoc:latest
nix-shell
code .
custom build: https://highlightjs.org/download