@FiXato
You could use a AsciiDoc-to-Markdown converter and then a Markdown-to-Gemini converter.
Gemini's syntax is rather similar to Markdown, so I imagine that's the closest you will get in terms of conversion.
@friend I'll have a look at kelbot's suggestion to use Pandoc, but else that would also be an option I guess, thanks. :)
@FiXato This might work since pandoc supports asciidoc.
https://github.com/kr1sp1n/gemini-pandoc-lua-filter
@kelbot ah, looks like #pandoc doesn't support #asciidoc as input unfortunately: https://github.com/jgm/pandoc/issues/1456
I'll see how suitable/usable the route of adoc>html>gmi is with asciidoctor + asciidoctor-html5 for the html generation and pandoc for the html>gmi conversion.
@FiXato Darn!
@kelbot oof, no, the asciidoctor>pandoc route does not generate useful results... gemini://fixato.org/
I'd have to do a lot of pre-parsing for that to work...
I think it's especially the concept of inline links and footnotes that don't really work well with gemini, and the html output that asciidoctor generates probably contains too many divs.
@kelbot I'm probably better off using the #AsciiDocs as basis, and manually convert it to a #gmi file for the couple of posts I'd feel like sharing via #Gemini.
Oh well, for now I'll turn off the gemini server again till I have something I'm satisfied with. :)
@FiXato You could also leave it up with just a basic index and short manually written posts until you figure out what you want to do with the whole thing.
@FiXato what do you want to convert?