a pretty lit content authoring system
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ast
baselit
booklitcmd
booklitdoc
chroma
ci
cmd/booklit add --plugin flag Jul 12, 2017
docs use partial for HTML content Mar 25, 2018
icon
load
render
scripts
stages add --save-search-index Mar 22, 2018
tests
.agignore
.gitattributes
.gitignore
LICENSE
Makefile
README.md
append.go add spaces between word-wrapped paragraph lines Jun 30, 2017
aux_.go
content.go
definitions.go
errors.go
go.mod
go.sum
image.go
link.go
list.go
paragraph.go
plugin.go
preformatted.go
reference.go
section.go
sequence.go avoid 'sentence' terminology internally Jul 23, 2017
string.go
styled.go
table.go
target.go add --save-search-index Mar 22, 2018
toc.go
version.go

README.md

booklit

GoDoc CI

installation

grab the latest release, or build from source:

go get github.com/vito/booklit/cmd/booklit

usage

booklit -i foo.lit -o ./out

example

clone this repo and build its docs:

booklit \
  -i ./docs/lit/index.lit \
  -o ./docs \
  --html-templates docs/lit/html \
  --plugin github.com/vito/booklit/booklitdoc

then, browse from ./docs/index.html.

you can see the result at https://vito.github.io/booklit