Proxy Information
Original URL
gemini://tilde.pink/~kaction/log/2021-06-23.1.gmi
Status Code
Success (20)
Meta
text/gemini; # Reformatting gemini text Gemini prescribes putting whole paragraphs in single line. I find it extremely unfortunate, since it places burden of textwrapping on client instead of server. Wrapping text is art, smashing whole paragraph into single line is one shell command. Unfortunately, I can do nothing but adapt, so I write my articles with semantic linefeeds, and post-process them during the build. Here is the command, using GNU sed: ``` $ sed -z -r -e 's/```/\x0/g' -e 's/([^`\n])\n([a-zA-Z])/\1 \2/g' -e 's/\x0/```/g' ``` Handling of verbatim blocks is left as excercise for the reader. Update (2021-06-30): There is small program written in C that does exactly that, respecting verbatim blocks. Thanks to Sandra Snan for hint. => gemini://idiomdrottning.org/gmihw
Capsule Response Time
6.407252 milliseconds
Gemini-to-HTML Time
0.006752 milliseconds

This content has been proxied by September (3851b).