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]
This is a test
test
Boo
AAAA!!! 😱😱😱😨😨😨😨
deleted by creator
Reply from messaging tab
Hi
Howdy
nice! Can you see this?
Yup!
deleted by creator
Testing
Relying with markdown to
stayon#topic
Link to custom Emoji
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.
You can
Copy Text
and get the raw markdown version on ConnectYeah, I knew about that, but I didn’t know custom emojis were global. Cool feature!
I type : and then the custom emoji name, Lemmy Website Auto completes the markdown for it.
Cool!
Italic Italic
Bold Bold
- List1
- List1
- List1
- List2
- List2
- List2
- One
- Two
- Three
- One
- Two
- 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
subscript and superscript don’t work for me on Jerboa
Same on Connect
Same on Thunder. Also, the spoiler isn’t hidden.
Same on liftoff
I’m on the beta version and here are the issues that I notice. The first horizontal line make the text bold instead of making a line. I think that you cannot “close” a subscript or a superscript. I find the copy block button a bit too large. I think that you used the wrong spoiler tag.
Here below my test on the beta version:
!This is a spoil!<
Ex = x^2
Any way, I give my energy to the sync developer and testers ༼ つ ◕_◕ ༽つ
I am not yet subscribed in the Canada community in lemmy.ca, but I should
not.You miss 100% of the shots that you don’t take
Edit: The [email protected] link don’t work. What is the proper way to link to a community in lemmy?
Testing some code syntax highlighting (may or may not work depending on UI being used):
fn blah(a: u32) -> Result { Ok(a*2) }
function blah(a) { return a*2; }
Nested (more backticks on our fence nest lesser backticks inside):
``` Example nested ```
Nor in liftoff 10.9 on iOS

Example:
it works in thunder just fine
just a random bold italic quote
lemmy also (unofficially) supports footnotes.[1] you may want to view this in a browser[2][3]
additionally, with no markdown linking at all, the web interface[4] automatically turns
[email protected]
into a link
Something I haven’t seen most apps do (but the webui does) is converting
(tm)
=> ™no clue if there are similar substitutions out there, would probably need to check the code to confirm
Shrug emote in backticks:
¯\_(ツ)_/¯
Shrug emote unescaped: ¯_(ツ)_/¯
Shrug emote properly escaped: ¯\_(ツ)_/¯
This is the real shit right here.
The image markdown also support mp4 as well
@ljdawson test