This will be a test post for markdown, as I’m switching to a faster markdown renderer that will allow me to do some cool stuff, like allow expanding images and running my code in markdown.

It might release with v1.31.2.

  • Xylight@lemm.eeOPM
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    5 months ago

    h1

    h2

    h3

    bold italic

    [email protected]

    @[email protected]

    [email protected]

    link


    code

    code block
    

    wow subscript

    wow superscript

    image

    iframe

    cursed link by people who dont know how lemmy works:

    [email protected]

    this is a block quote

    test

    neaky

    <script>alert(‘if you see this in a popup, your parser is not sanitizing HTML! this is a major security vulnerabillity, contact your frontend’s maintainer.’)</script>

    just some regular text

    • list item 1
    • list item 2
    1. ordered list
    2. it’s pretty useless
    this is a spoiler with more complex stuff

    wow this is so cool

    it even has header support now

    Item In Stock Price
    Python Hat True 23.99
    SQL Hat True 23.99
    Codecademy Tee False 19.99
    Codecademy Hoodie False 42.99

    <img src=“” onerror=“alert(‘your client has a serious XSS vulnerability if this opened in a popup’);”>

    ``` this is an escaped blockquote ```

    • Blisterexe
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      The html parser message… Is that a problem for a non-web based mobile app?

      • Xylight@lemm.eeOPM
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months ago

        I should have specified it to say “if this opens in a popup”

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    What one did you go with? I switched to magidoc/plugin-svelte-marked and have been pretty happy with it. The only thing I lost were sub- and superscript.

  • Blisterexe
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    does this mean that the post text preview will have markdown?

  • WFH@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 months ago

    There is something going on with mentions, but otherwise awesome work!