I’m updating the markdown parser and want to be sure I’m handling all new types of links e.g. links to communities or users.

If you can please comment any examples I’ll add support.

Cheers, Lj!

edit: testing a link

edit 2: https://lemmy.world/post/1986302

edit 3: https://feddit.uk/post/699250

edit 4: https://lemmy.ml/post/2335045

edit 5: https://lemmy.world/comment/1706265

edit 6: https://lemmy.ml/comment/1651859

edit 7: https://lemmy.ml/c/asklemmy

edit 8: https://kerala.party/c/[email protected]

edit 9: https://lemmy.ml/u/ljdawson

edit 8: https://kerala.party/u/[email protected]

edit 9: https://latte.isnot.coffee/post/6799

edit 10: [email protected]

edit: 11: @[email protected]

  • starscar12@lemm.ee
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 year ago

    Lemmy spoilers have different syntax compared to reddit:

    This is a spoiler hiding some text

    We’re no strangers to love
    You know the rules and so do I (do I)
    A full commitment’s what I’m thinking of
    You wouldn’t get this from any other guy
    I just wanna tell you how I’m feeling
    Gotta make you understand
    Never gonna give you up
    Never gonna let you down
    Never gonna run around and desert you
    Never gonna make you cry
    Never gonna say goodbye
    Never gonna tell a lie and hurt you