this post was submitted on 15 Jun 2023
4 points (100.0% liked)

Lemmy

12506 readers
38 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

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

Heading Content

Rendered

Heading

Content


Subscript text

Source Rendered
H~2~O H~2~O
top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 0 points 1 year ago (1 children)

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.

[โ€“] [email protected] 1 points 1 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.