ยท All Projects


Markdown to gemtext converter - md2gmi source code on Github. If you have the go tool chain installed, you can install and try gmifs with:

go install

This tool works either on standalone markdown files or in combination with hugoext. When I started md2gmi I wanted it to be composable, abiding the UNIX philosophy of command line tools. But instead of processing the entire file as one block, it goes a step further and process files line by line. This requires some tracking of comment and code blocks which allow for some interesting experiments with Go channels, pipelines, selects and state machines.

Last modified on Tuesday, Jul 13, 2021.
Go back