Okay, that's enough progress for today on the rewrite of my #AsciiDoc to #GemText conversion pipeline.

Added a pre-processor that allows me to add ,gemini=hidden to links I don't want to show up in the gmi document, and ,gemini=extend-to-eol for links I want to extend to the end of the line.

I don't expect others to find this useful, but so far it looks like it will help reduce link clutter in #gemini documents, without having to handcraft a #gmi version of the same blog post.

#coding

@FiXato You write your blogposts in asciidoc? That's unusual and interesting. What is your historical context for this preference?

I tried for a while to write hpr shownotes in asciidoc, but the html output upset @perloid 's sensibilities. When I dragged it through docbook and pandoc it came out a bit tidier, but in the end I went back to Markdown.
Follow

@clacke @FiXato I use asciidoc on a daily basis for my own purposes, and of course it's head and shoulders above Markdown as regards features. The problem we had on HPR was that our HTML notes get sent to archive.org (as the item description field) and their HTML filters are harsh (or were, I haven't checked lately) and tend to strip a lot of the "fancy" asciidoc stuff. So not my "sensibilities" more a pragmatic approach 😉

· · Web · 1 · 0 · 2
@perloid @FiXato Thank you for clarifying. =)

Frowning at asciidoc HTML output is pretty sensible either way. <div class="paragraph"> is not how you write a paragraph in HTML.

@clacke @perloid my "Now" page is generated with the asciidoctor-html5s backend, and while it could probably still be improved some, it's a lot more semantic than the default #asciidoctor output.
(and actually uses p tags for paragraphs)

gemini://fixato.org/now.gmi would be an example of what my current #gemini #gemtext conversion pipeline makes out of it.

If you don't have a gemini client (personally I'm fond of #Lagrange and #Amfora), then you can use f.e. the vulpes.one http proxy.

If you're interested, I can also put the source asciidoc file online.

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko