this post was submitted on 10 Mar 2024
9 points (100.0% liked)

Sync for Lemmy

15133 readers
14 users here now

๐Ÿ‘€


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: @[email protected]


founded 1 year ago
MODERATORS
9
Markdown tests (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

If you come across something that doesn't work pop it here

all 25 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 5 months ago

I'm not sure if you're still monitoring this or if I should make new thread.

I just encountered a comment where they included a link with brackets in the url and it didn't parse for me in Sync. I assumed it needed escape characters , which did make it a working link for me in app, but I got curious and checked the website and the original link worked fine there. Maybe the Lemmy web ui will escape characters in links by default?

[โ€“] [email protected] 3 points 5 months ago (1 children)

Any progress being made here? I was really hoping that not being able to view certain communities such as [email protected] would be considering bad enough of a bug to bring a little development back.

[โ€“] [email protected] 3 points 5 months ago (1 children)

Yup. I'm in the process of ripping out the old markdown processor.

[โ€“] [email protected] 2 points 5 months ago (1 children)

Hey! Good to hear from you. Hope you took some good time for yourself. I appreciate the progress update on the merkdown.

[โ€“] [email protected] 3 points 5 months ago (1 children)

I've been flat out on new features. Just finishing up a built in ad blocker เผผ ใค โ—•_โ—• เผฝใค

[โ€“] [email protected] 1 points 5 months ago (1 children)

What's it gonna do? ๐Ÿ‘€ Hopefully block ads for web pages you're viewing?

[โ€“] [email protected] 2 points 5 months ago (1 children)

Yup. Even managed to get websites caching and working offline too.

[โ€“] [email protected] 2 points 5 months ago (1 children)

Any way you can block the "sign up for the newsletter" type dialogs that websites like to have? Lol

[โ€“] [email protected] 2 points 5 months ago (1 children)

Already added (โ˜ž๏พŸใƒฎ๏พŸ)โ˜ž

[โ€“] [email protected] 2 points 5 months ago

เผผ ใค โ—•_โ—• เผฝใค

[โ€“] [email protected] 3 points 8 months ago* (last edited 8 months ago)

Code blocks in quotes appear a little funky.

Some line of code


> Extended quote
> ```
More code

Further extended quote

[โ€“] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

!spoiler spoiler Test Comment

with line breaks!<


with line breaks!<```

Saw this comment in the wild which does not appear correct in Sync.

https://discuss.tchncs.de/comment/8334366

In Sync it looks like this:

![](https://lemmy.world/pictrs/image/a660f68f-f78b-41a8-ae15-17a8cd896c3e.jpeg)

On Lemmy via browser, it looks like this:

![](https://lemmy.world/pictrs/image/ed917b91-cdf6-401a-92e0-01462790b8ce.jpeg)
[โ€“] [email protected] 1 points 2 months ago

+1 for this, would be nice to have proper lemmy style spoilers.

[โ€“] [email protected] 1 points 2 months ago

This in-line animation doesn't work but when you tap on it there preview is fine

https://lemmy.dbzer0.com/comment/12956813

[โ€“] [email protected] 1 points 2 weeks ago

Hi!

Moderator from [email protected] here.

Just been playing around using the spoiler tags as makeshift drop down lists in the sidebar for the Perth/WesternAustralia community, and noticed the 'spoiler' markdown formatting isn't recognised in the 'about' page on the Sync app. :)

[โ€“] [email protected] 1 points 8 months ago (1 children)

The bullet points in my comment here render correctly in the official Lemmy frontend, but not in Sync: https://lemmy.world/comment/6271596

[โ€“] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

I think a way to make them work is to add two spaces after each line. Here's a test...

  • Line one
  • Line two
  • Line three

Hopefully that works.

It did :-)

[โ€“] [email protected] 1 points 8 months ago* (last edited 8 months ago)

That's a placebo and it's not doing anything. Bulleted lists never need two spaces at the end of each line. You only use two spaces at the end of line that are not in bulleted or numbered lists.

The bug is that Sync requires a blank line before you start the bulleted list. The Lemmy website doesn't require that.

Here is your comment with no spaces at the end of each line:

spaces after each line. Here's a test...

  • Line one
  • Line two
  • Line three

See? It still works fine.

Now here's an example of what two spaces do.

The first sentence below has a new line after each word but no spaces. The second sentence has two spaces and a new line after each word. The spaces force a line break to be rendered.

This Is Not A List

This
Is
Not
A
List

Source of the above:

This 
Is 
Not 
A 
List

This  
Is  
Not  
A  
List

This feature of markdown was implemented to prevent text from emails and such from wrapping in funny ways when pasted into a comment (or whatever). Old emails often force line breaks after 80 columns of text and it looks goofy when viewed in a modern web browser if those line breaks are kept, so they are ignored. To preserve the line breaks, you add two spaces at the end of each line. That or you might prefer to write paragraphs with a hard wrap at some column, but other people shouldn't have to suffer that.

Adding the two spaces to lines in a bulleted list does nothing useful, but it also doesn't break it, so of course it works.

[โ€“] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Testing embedded gifs

[โ€“] [email protected] 1 points 4 months ago

Funny stuff is happening with the spoilers in this comment, they aren't rendering as spoilers on the first two but tapping the actual spoilers removes the broken spoiler characters around the first two lines? Really strange: https://lemmy.world/comment/10822445

[โ€“] [email protected] 1 points 4 months ago

Posts are not being marked as read, unless the comments are opened.

[โ€“] [email protected] 1 points 3 months ago* (last edited 3 months ago)

Several of the Wikipedia links in the post below contain parentheses in the URL. They work in the web front-end but not in Sync.

https://lemmy.ca/post/24972740

[โ€“] [email protected] 0 points 8 months ago* (last edited 8 months ago) (1 children)

Superscript was reported as ^not working^

[โ€“] [email protected] 0 points 8 months ago (1 children)

Lemmy-ui uses markdown-it-sup, so I think superscript should work on a single word like this: ^superscript^ . It won't work if there is a space in the superscript text: ^this wont work^ . Each word must be enclosed with superscript tags: ^this^ ^should^ ^work^

screenshot for those not currently using a web browser