💾 Archived View for nox.im › projects › md2gmi captured on 2024-03-21 at 15:20:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-03)

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

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