Consistency

As you may know, a message written in one Reddit client doesn’t display the same in another. Here’s an example:

Example
```
First line
Second line
```

reddit.com and the official app both render this correctly:

First line
Second line

old.reddit.com, however, renders everything on one line:

First line Second line

They also differ in how they render subscripts with parentheses (a^(\(b\))), nested subscripts (a^b^c), and code blocks and lists that immediately follow text.

Lemmy doesn’t have these issues, since its Markdown specification is clearly defined.

Images

On Reddit, if you want to add images to a text post, you have to use the Fancy Pants editor on reddit.com. If you attempt to edit such a post on the official app, a third-party app, old.reddit.com or the mobile site, these images simply turn into links. Additionally, you can’t attach images in comments.

Lemmy lets you attach images from anywhere, including comments.


Source Rendered
![Lemmy logo](https://join-lemmy.org/static/assets/images/lemmy.svg) Lemmy logo

Multi-line spoilers

Lemmy lets you clean up your post using spoilers:


Source

::: spoiler Heading

Content
:::

Rendered

Heading

Content


Subscript text

Source Rendered
H~2~O H2O
  • glibg10bOP
    link
    fedilink
    English
    81 year ago

    Jerboa doesn’t seem to render spoiler tags or subscripts. Anyway, here’s an image in a comment:

    an image

    It’s actually an SVG, which is pretty awesome.

    • Zotn (jan Sotan)
      link
      English
      51 year ago

      This is a reported bug on github, so a fix will happen for sure. While Markdown is awesome and perfect for browsers, incompatible implementations (esp. when using extensions as Lemmy does, e.g. subscript) are often a problem on non-web based platforms, like Android. If Jerboa was an electron app, it would probably be an easier fix than it is; Jerboa is written in Java and there are less and probably less extensive Markdown parsers in that ecosystem.

    • glibg10bOP
      link
      fedilink
      English
      21 year ago

      It’s the following features, to be precise:

      Tables

      Strike through

      O

      Subscript

      Xa

      Superscript

      Xa

      Spoilers

      summary

      detail

      Images

      Hosted outside of Lemmy instances

      SVGJPEGPNGGIF

      Hosted on Lemmy instances

      lemmy.mllemmy.world

  • @[email protected]
    link
    fedilink
    English
    31 year ago

    yeah, it’s really good.
    I’d love it if kbin and lemmy could agree on how this should work, and both support the same syntax

  • tubbadu
    link
    English
    31 year ago

    What is still missing for me is the support for some html tags, such as <sup> and <sub> that are very useful for making a whole sentence appear very small. with the current options you have to ~write~ ~each~ ~word~ ~like~ ~this~ or it won’t work:

    ~hello everybody~: ~hello everybody~

    ~hello~ ~everybody~ hello everybody

    also, in jerboa this is not recognized. But we’ll arrive everywhere, it’s just a matter of time :D

    • glibg10bOP
      link
      fedilink
      English
      31 year ago

      Support for syntax highlighting would also be nice, though Reddit doesn’t have that either:


      Source

      ```c++
      int main() {
          // comment
      }
      ```
      

      Rendered

      int main() {
          // comment
      }
      

      I think that’s it. Its Markdown support is pretty fleshed out otherwise

      • tubbadu
        link
        English
        21 year ago

        this is a dream… a dream that we’ll probably see in the near future I think, there are plenty of open source libraries that supports markdown