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/asklemmy@lemmy.ml

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

edit 8: https://kerala.party/u/ljdawson@lemmy.world

edit 9: @ljdawson@lemmy.world

  • Nugget@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    edit-2
    1 year ago

    Italic Italic

    Bold Bold

    Deferred Link

    Image

    • List1
    • List1
    • List1
    • List2
    • List2
    • List2
    1. One
    2. Two
    3. Three
    1. One
    2. Two
    3. Three

    Horizontal Rule

    hello world

    Horizontal Rule


    hello world

    Inline code with backticks

    # code block
    print '3 backticks or'
    print 'indent 4 spaces'
    
    # code block
    print '3 backticks or'
    print 'indent 4 spaces'
    
    secrets

    hi

    Some subscript text

    Some superscript text