OSiUX · @osiux
56 followers · 42 posts · Server rebel.ar
OSiUX · @osiux
54 followers · 42 posts · Server rebel.ar
FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat

Writing articles that come up nice in both via , and as through conversion via and is quite challenging...

#asciidoc #html #jekyll #gemini #gemtext #markdown #md2gemini #blogging #gemlog #blog

Last updated 4 years ago

FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat

@chmod777 For what it's worth, I've had acceptable results so far with myself: gemini://fixato.org/

And that is with the being generated through from source files, via 's intermediate files.

You might get even better results even if your source files are markdown already. :)

#md2gemini #markdown #pandoc #asciidoc #asciidoctor #docbook

Last updated 4 years ago

FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat

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.

#adoc #asciidoc #docbook #xml #markdown #pandoc #python3 #gemtext #md2gemini

Last updated 4 years ago