this post was submitted on 25 Feb 2024
71 points (93.8% liked)

Fediverse

28746 readers
310 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

I know there are a ton of iOS apps for Lemmy. But what are they missing? What experiences would you like? It could be quality of life or big and ambitious features Many of you often have really good ideas and feedback, I’m looking forward to responses.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 10 months ago* (last edited 10 months ago) (2 children)

I think it's because spoiler tags in lemmy have been custom-made for some reason, whereas all the other stuff is standard markdown. Voyager is a web app, so it can maybe only render whatever the engine it relies on can render.

Edit: Turns out I'm 2 for 2 on making incorrect statements in this comment.

[–] [email protected] 4 points 10 months ago (2 children)

I’m pretty sure spoiler tags are just not part of the markdown specification. This would mean it’s probably easy enough for an application developer to just take the raw comment and pass it to what I assume would be a markdown rendering library (haven’t done app dev much), but spoiler tags won’t work without some additional work.

[–] aeharding 4 points 10 months ago

Yeah, this. Remark, the markdown library Voyager uses, is very powerful but also extremely complex (it has to be, to deal with Markdown edge cases).

I made a bit of progress last week on a custom plugin but it’s a lot of work. There’s like 4 layers of parsing required.

I wish Lemmy used GFM spoilers, which just uses normal details and summary html tags. But alas.

It’s really annoying there’s no standard markdown syntax in common mark.

[–] [email protected] 4 points 10 months ago

A quick Google suggests you're correct - big sites have implemented their own versions, but it looks like everyone has spent the last decade arguing with other about a CommonMark standard.

[–] [email protected] 3 points 10 months ago

It’s not just a web app anymore.