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

You are viewing a single thread.
View all comments View context
3 points
*

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 :-)

permalink
report
parent
reply
6 points
*

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.

permalink
report
parent
reply
3 points

Ah, I see - thanks for the detailed explanation. I think I sort of knew that, but got mixed up when replying on bullets.

permalink
report
parent
reply
4 points

So I know that will make it look correct in sync, but I guess what I’m getting at is that the comment is an example that looks right in other clients but NOT in sync.

Sync should show the list correctly like other clients do.

permalink
report
parent
reply
3 points

Yeah, sorry, I got mixed up, so my ‘solution’ wasn’t really a fix at all.

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

  • 359

    Monthly active users

  • 716

    Posts

  • 15K

    Comments