this post was submitted on 13 Jan 2025
134 points (96.5% liked)
Fediverse
28930 readers
2502 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I mean,
code
could work and maybe ^superscript^ or ~subscript~ and that's about it I thinkCan you create headings in headings?
You can, and it'll probably get annoying if everyone catches on!
OK, I will never use it again.
~oh no~
Are sub and superscript officially supported by markdown now? Or is that a Lemmy-specific extension?
Lemmy-ui uses
markdown-it
: https://github.com/LemmyNet/lemmy-ui/blob/main/package.json#L65Markdown-it follows the CommonMark spec with extensions: https://spec.commonmark.org/current/ As I see superscript is not part of the spec, but listed in the markdown-it readme as a plugin, so I guess it's coming from there: https://github.com/markdown-it/markdown-it?tab=readme-ov-file#syntax-extensions
They are also listed in package.json:
https://github.com/LemmyNet/lemmy-ui/blob/main/package.json#L73
Lemmy docs about markdown support: https://join-lemmy.org/docs/users/02-media.html#text