Bash static site generator supporting GitHub flavored markdown.
jsg [options] <file> [<file> ...]
options
-d directory : Specify a optional directory to write to, uses the same name as `file`, but with an html suffix. If nothing specified outputs to stdout.
-l layout : Specify a optional layout file. Content will be inserted after `<!-- #content -->`.
-v : Verbose
# increase GitHub Markdown API rate limit. Create personal access token with no permissions
export JSG_TOKEN=......
# output/index.html
$ jsg -d output -l layout.html src/index.md
# output/posts/a-post.md
$ jsg -d output/posts -l layout.html src/posts/a-post.md- Follow Google shell styleguide
- Test with bats
# run all tests
$ test/bin/*
# run individual test
$ test/bin/markdown_test.sh- Perl static site generator perl static site generator. source
- Rails app crawl pages to generate static site.
- jch.github.io output of static site.