Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 454 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 454 Bytes

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.