the universal literate programming tool
Prebuild binaries
Go to the release page and download the binary.
Building from Source
lit
is written in Golang. You need to install go before you can continue with the next steps.
git clone git@github.com:literate-programming/lit.git
cd cmd/lit
make download-darwin # or download-linux
make bootstrap
make build
To transform a file and write it back to a file, run:
lit source.go.md source.go
If you want to print it to stdout, run:
lit source.go.md