jwr1 / interstellar

An app for Mbin and Lemmy, connecting you to the fediverse.
https://kbin.earth/m/interstellar
GNU General Public License v3.0
51 stars 6 forks source link

Support additional markdown syntax #38

Closed jwr1 closed 6 months ago

jwr1 commented 7 months ago

General markdown is already supported by the markdown package, including headings, bold, italic, link, image, quote, lists, divider, and code. Additionally, we've already added support for user/magazine mentions.

To Do:


Lemmy markdown syntax here

jwr1 commented 6 months ago

Looks like some Lemmy markdown syntax is incompatible with general markdown and Mbin's implementation. For instance, ~ (tilde) generally represents strikethrough in markdown, but that doesn't seem to be the case for Lemmy. We'll still try to support spoilers though.

Turns out, Lemmy's syntax actually does match other extended markdown's syntax. See here.