Skip to content

Files

Latest commit

0055954 · Jun 24, 2020

History

History
43 lines (31 loc) · 1.29 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.29 KB

lit

the universal literate programming tool

Github Actions Software Release Software License


Installation

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

Usage

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