aka freamon

Codeberg: https://codeberg.org/freamon?tab=activity

Anything from https://lemmon.website/ is me too.

  • 0 Posts
  • 5 Comments
Joined 10 months ago
cake
Cake day: March 27th, 2024

help-circle



  • Oh, wow. Thanks.

    For clarity, I wasn’t intending to say that PieFed treats that field as HTML (it treats it as text), I just meant that if you were looking at that JSON, and being a bit lazy like me and not looking at specs, then it wouldn’t be unreasonable to assume that the ‘mediaType’ field also refers to ‘name’ (rather than a ‘content’ field which this post doesn’t happen to have).

    Anyway, this seems to be even more reason why MD shouldn’t be put in titles, and front-ends shouldn’t be encouraging the practise by rendering it.


  • You can, but maybe you shouldn’t. Given that this post is in the fediverse community, I don’t feel too bad about mentioning that Lemmy is part of a federated network with PieFed and MBIN (I try not to bollock on too much about the platform I happen to be using).

    In the ActivityPub JSON for this post, there is no indication that this field contains MarkDown. If anything, it says the opposite, it says it contains HTML. It’s therefore not unreasonable for other platforms to render it as such.

    Given this, and the poor support for mobile clients indicated in the comments, and the fact that it’s only a subset of MarkDown tags, but include ones that aren’t part of CommonMark standard, I’d argue that it’s not necessarily a good idea.