A lua filter for pandoc to output gemini text.
pandoc -f html -t plain --lua-filter gemini.lua examples/simple.htmlpandoc -f html -t plain --lua-filter gemini.lua examples/simple.html -o /tmp/simple.gmi
diff /tmp/simple.gmi test/output/simple.gmiThe exit code of the diff command should be 0.