Jerboa currently ignores single line breaks. I think single line breaks should be implemented as the only other alternative is double line breaks which are not always appropriate.

  • andscape
    link
    fedilink
    arrow-up
    15
    ·
    1 year ago

    Which other web services support Markdown formatting and also single line breaks? Reddit, for example, didn’t…

    Since AFAIK the main reason for this choice in standard Markdown was to make the raw .md files more readable, I can see how this isn’t necessary in Lemmy. I still see two reasons not to change this though:

    • Effort: forking and maintaining a markdown rendering library just for lemmy would take a ton of effort for a pretty small usability improvement. The dev team is already small and overloaded with work, this doesn’t seem like a good use of their time.
    • Consistency: each website having its own flavor of Markdown syntax would be pretty chaotic for users. Right now you can learn basic Markdown once and use it on Reddit, Lemmy, Github, etc. If every website did it their own way you’d have to remember all the little differences, it would get messy.
    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      We could probably add it easily to the existing markdown library since it supports plugins (in fact, the lemmy link handling is done with a plugin).

      But the main reason to not do it is to not be surprising. Ideally Jerboa renders the same as lemmy-ui and other Lemmy mobile apps. That’s why standards exist.

    • soyagi@yiffit.netOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      I wasn’t talking about markdown language. I was talking about the end user experience. In my email client for example, I can write a single line break and it is formatted as such. The end user shouldn’t have to know/worry/care about the underlying technology; the technology should work to meet their needs.

      • jsveiga@sh.itjust.works
        link
        fedilink
        arrow-up
        7
        arrow-down
        2
        ·
        1 year ago

        Yeah, let’s embed a MS Word window in the interface instead of the text box, for a full wysiwyg user friendly experience. It could check the user’s environment and log in to Office365 using their credentials, thus having access to their templates and onedrive too.

        Hey, hey, what about… Teams integration? That would be super user friendly. We could read, comment and post directly from our cosy familiar Microsoft friendliness, never ever needing to know, worry or care about any underlying technology.

        But wait! I clearly remember having to know, worry and care about how to use wysiwyg editors. Can’t we instead go back to using raw latex tags and vi as the post/comment interface?