Home

Awesome

gemini-pandoc-lua-filter

A lua filter for pandoc to output gemini text.

Example

pandoc -f html -t plain --lua-filter gemini.lua examples/simple.html

Test

pandoc -f html -t plain --lua-filter gemini.lua examples/simple.html -o /tmp/simple.gmi
diff /tmp/simple.gmi test/output/simple.gmi

The exit code of the diff command should be 0.