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: https://latte.isnot.coffee/post/6799

edit 10: !android@lemmy.world

edit: 11: @ljdawson@lemmy.ml

23 points
14 points
*

The only user in this thread who understood the assignment

permalink
report
parent
reply
8 points
*

I mean, this isn’t terribly unimportant. There definitely should be an option to view all links to lemmy communities/users through your home instance when linked like this.

Not necessarily on topic for this thread, but still…

permalink
report
parent
reply
2 points
9 points

Link to custom Emoji

permalink
report
reply
6 points

Wow, this rendered as a gif on my client (Connect). Did you just write it as an emoji?

That makes me realize that a “view raw” or “view code” button would be awesome.

permalink
report
parent
reply
4 points

I type : and then the custom emoji name, Lemmy Website Auto completes the markdown for it.

permalink
report
parent
reply
4 points

Cool!

permalink
report
parent
reply
6 points
*

You can Copy Text and get the raw markdown version on Connect

permalink
report
parent
reply
4 points

Yeah, I knew about that, but I didn’t know custom emojis were global. Cool feature!

permalink
report
parent
reply
15 points
*

code by using ` (this is escaped)

Example link

Bold

Italic

Quote

  • List item 1
  • List item 2

Heading 1

Heading 2

Heading 3

Heading 4

Strikethrough

permalink
report
reply
17 points

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


permalink
report
reply
3 points

@VonReposti

permalink
report
parent
reply
19 points

For some reason, spoiler tags don’t work on my end. I use Connect.

permalink
report
parent
reply
9 points

Same on Thunder.

permalink
report
parent
reply
10 points

Same on Liftoff

permalink
report
parent
reply
6 points

Working well on Summit!

permalink
report
parent
reply
5 points

Works on Jerboa too

permalink
report
parent
reply

Sync for Lemmy

!syncforlemmy@lemmy.world

Create post

👀


Welcome to Sync for Lemmy!

Download Sync for Lemmy


Welcome to the official Sync for Lemmy community.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Community Rules


1- No advertising or spam.

All types of advertising and spam are restricted in this community.



Community Credits

Artwork and community banner by: @MargotRobbie@lemmy.world


Community stats

  • 408

    Monthly active users

  • 723

    Posts

  • 14K

    Comments