• jagungal@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Not necessarily a mastodon app, but I’d love to see consistent application of markdown. The client I use doesn’t seem to support spoilers, and I’ve seen others that implement headings differently. It would be nice to have all clients implement it the same way.

    • kopper [they/them]@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      (vanilla) mastodon does not have markdown, and content from other instances (marked up or not) get transmitted as HTML over the wire (and the mastodon API serves sanitized HTML to apps).

      mastodon forks like glitch, and clones of the mastodon API like those on pleroma/akkoma and iceshrimp do serve the markdown source AFAIK, but unless OP’s looking to… idk, support MFM (which, on a non-web app would be difficult) I don’t really see the point in that.

      • cory_lowry@lemmy.worldOP
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I’ll look into adding markdown support but I’m not sure I’ve ever seen anything other than bare HTML come through the API. Tbh, the apps are probably just parsing the HTML. Got any examples with markdown in the posts?