Small CLI app in Scala Native that uses cmark to convert a markdown file to HTML.
Usage: htmark <filename.md>
- will spit out HTML to standard output.
It uses:
- sbt-vcpkg to install native dependencies using Vcpkg
- sn-bindgen to generate bindings to cmark library
The built binary is statically linked on both MacOS and Linux, and requires no cmark installed anywhere.
The Github actions build and upload the binaries.