💾 Archived View for nox.im › projects › md2gmi captured on 2023-04-26 at 13:28:16. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

md2gmi summary:

Markdown to gemtext converter - md2gmi source code on Github[1].

1: md2gmi source code on Github

If you have the go tool chain installed, you can install and try gmifs with:

go install github.com/n0x1m/md2gmi@latest

This tool works either on standalone markdown files or in combination with hugoext[1]. 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.

1: hugoext