Converts Markdown to Gemini gemtext with Go. Working with streams and UNIX pipes, utilizing Go channels. Processes streams of input line by line and forwards blocks to the next pipeline stage.
main.go | ||
parser.go | ||
README.md |
md2gmi
Convert Markdown to Gemini Gemini "gemtext" markup with Go. Working with streams and pipes for UNIX like behavior utilizing Go channels.
Usage
Usage of ./md2gmi:
-in string
specify a .md (Markdown) file to read from, otherwise stdin (default)
-out string
specify a .gmi (gemtext) file to write to, otherwise stdout (default)
Example
go get github.com/n0x1m/md2gmi
cat file.md | md2gmi
md2gmi -in file.md -out file.gmi