You're viewing a single thread.
(unlike Reddit, for example)
I use bold and italic a lot in post titles. Some of the other stuff wouldn't make much sense I don't think, but every little bit helps.
6 0 ReplyI mean,
code
could work and maybe superscript or subscript and that's about it I think7 0 ReplyCan you create headings in headings?
5 0 ReplyYou can, and it'll probably get annoying if everyone catches on!
5 0 ReplyOK, I will never use it again.
6 0 Reply~oh no~
3 0 Reply
Are sub and superscript officially supported by markdown now? Or is that a Lemmy-specific extension?
2 0 ReplyLemmy-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:
"markdown-it-sub": "^2.0.0", "markdown-it-sup": "^2.0.0",
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
3 0 Reply
I think it's fine to use unique platform features like this, but if you're actually using this actively, be aware that not everyone will see your titles as you intended them. It's only Lemmy users that can see it actually render "properly", everyone else just sees the plaintext Markdown symbols.
1 0 ReplyHmm, sounds like a good point. Here's my sub:
https://lemm.ee/c/eurographicnovelsCan you tell me how our formatting might be messing search engines and stuff..?
1 0 Reply