this post was submitted on 09 Aug 2024
5 points (100.0% liked)

gemini

401 readers
1 users here now

https://gemini.circumlunar.space/

Gemini is a new internet protocol which:

Other Gemini communities on Lemmy

founded 4 years ago
MODERATORS
 

There’s a paragraph on a page that I need to remove temporarily. It would be easier to just collect it out like I would in HTML. Then I can restore it quickly when it’s needed again. Is it not possible?

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

Gemtext has no commenting feature, however there is a workaround I can think of for "commenting" single lines, by turning the line into the alt text of an empty preformatted text block:

This is a paragraph / other line

becomes

```This is a paragraph / other line
```

I have tested this in lagrange and kristall and it becomes completely invisible.

As the specification doesn't require the alt text to be hidden, there is no guarantee some visitors won't see it.

[–] [email protected] 1 points 1 month ago

This is so clever. Thank you! When maintaining HTTP and Gemini versions of pages, it’s helpful to use similar editing methods 🙏