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

Lemmy

12524 readers
3 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 9 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (2 children)

Well, this is a good bug report for jerboa! Lots of rendering not working

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

It's the following features, to be precise:

Tables

Strike through

~~O~~

Subscript

X~a~

Superscript

X^a^

Spoilers

summary

detail

Images

Hosted outside of Lemmy instances

SVG JPEG PNG GIF

Hosted on Lemmy instances

lemmy.ml lemmy.world

[–] [email protected] 1 points 1 year ago

Yep, spoilers are a big one - but it's a known issue

[–] [email protected] 2 points 1 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

[–] [email protected] 2 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.

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 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

load more comments
view more: next ›