• wjs018@piefed.wjs018.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    existing posts still have a problem

    This is because the markdown to html conversion is only performed when the markdown source is created or edited. The html generated from old posts isn’t going to update on its own.

      • wjs018@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        I was able to use some admin powers to fix up that post specifically (basically force it to refresh the html). However, that kind of manual process doesn’t scale well. Let me know if there are other posts that are problematic that you want fixed up.

        • klu9@piefed.socialOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          None off the top of my head, thanks.

          I suspect (don’t have expertise) for content aggregator platforms like Piefed & Lemmy, most of the interaction with the post & comments are in the first few days, so retroactive correction isn’t important.

          • wjs018@piefed.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 month ago

            Yeah, that is exactly right. It would be more important for something like a pinned post that is used as a reference that might be older.

            I have been doing quite a bit of work on the markdown parsing recently in addition to the parentheses in links issue. A brief list:

            • nested spoiler blocks don’t break things
            • nested blockquotes don’t break things
            • spoiler blocks inside blockquotes don’t break things (this happened a lot with how lemmy creates giant blockquotes from crossposts)
            • mp4 and webm videos can now be embedded in markdown using the ![alt text](https://site.tld/video.webm) format (these are the only two formats supported by the html <video> tag)