I'm going to write my own simplified asciidoc(ter) -> gemini parser, aren't I?

I should write a pandoc filter I guess, but I can't be arsed learning yet another language right now.


Looks like I am actually getting pretty decent results by:

converting with to :

asciidoc -b docbook "$input"

which I then convert to with :

./pandoc-2.11.4/bin/pandoc --wrap=preserve -f docbook -t markdown_strict "${base}.xml" -o "${base}.md"

which I then pre-process a bit with my own before converting it to with :

md2gemini --links paragraph "${base}.md" > "${base}.gmi"

I'll post the script once I'm done.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!