• Admiral Patrick@dubvee.orgOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    Agreed, Yeah, there should be a dedicated syntax for media embeds. Lemmy-UI uses markdown-it and the extension markdown-it-html5-embed which is what extends the image syntax for audio/video. I duplicated that in Tesseract for feature parity, and Photon did as well. In both cases, we had to custom write renderers to match the Lemmy-UI syntax which is, for better or worse, the “standard” for Lemmy.