Skip to content

gustafla/zmarkgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zmarkgen

CI codecov

A simple static site generator, written in Zig with the commonmark library.

This tool was written primarily for the purpose of organizing my personal notes. I do not intend to develop this into a feature-rich static site generator, for that purpose try zine or hugo.

Build

This project uses the Zig build system. You need Zig 0.15.1.

To build a release binary for your native architecture and OS, run

zig build -Doptimize=ReleaseSafe

After a successful build, the zmarkgen binary can be found in zig-out/bin.

Usage

By default the zmarkgen command reads all .md-files from the working directory and generates corresponding .html files in generated.

You can also specify an input directory, eg. zmarkgen doc.

See zmarkgen -h for another example.

Documentation and Example Site

See the GitHub Pages deployed by CI.