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?

  • 56!
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    3 months ago

    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.

    • FarraigePlaisteach@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

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