You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a look at the bottom of parser.zig to see some test usage.
Using it as a CLI executable
Clone this repository:
$ git clone https://nossa.ee/~talya/koino
Build
$ zig build
Use ./zig-out/bin/koino
Development
There's a flake.nix for building or getting a devShell if you're so-inclined.
Clone this repository (with submodules for the cmark-gfm dependency):
$ git clone --recurse-submodules https://nossa.ee/~talya/koino
$ cd koino
Build and run the spec suite.
$ zig build test
$ make spec
Usage
Command line:
$ koino --helpUsage: koino [-hu] [-e <str>...] [--header-anchors] [--smart] <str>Options: -h, --help Display this help and exit -u, --unsafe Render raw HTML and dangerous URLs -e, --extension <str>... Enable an extension (table,strikethrough,autolink,tagfilter) --header-anchors Generate anchors for headers --smart Use smart punctuation <str>
Library:
Documentation is TODO — see LoLa for an example of use. Note also the build.zig declaration.
About
CommonMark + GFM compatible Markdown parser and renderer