Given that Jebora has markdown support, just throwing a few bits in here…
bold and italic
- li item 1
- li item 2
Quote
heading
inline code
Code block
// Not trying xss just doing examples
alert("example")
strike
sub
up
error loading comment
For anyone interested, here’s the Lemmy markdown configuration. As you can see, Lemmy’s website UI supports the full commonmark spec (tutorial / official spec), plus a bunch of extensions. I don’t think anyone’s fully documented these yet, so I’ll try doing so below. Apologies in advance to mobile users, this is probably gonna get ugly (see included image links for how it should look):
- URL autolinking (plaintext URLs automatically turn into links)
- Lemmy autolinking:
- NOTE: No link will be inserted if the viewer is browsing an instance where the resource is not yet known/blocked
- Communities:
!fediverse@lemmy.ml
→!fediverse@lemmy.ml (link ref:/c/fediverse .ml
)- Kbin-style is also supported:
/m/fediverse .ml
→/m/fediverse@lemmy.ml
- Kbin-style is also supported:
- Users:
/u/chaorace .sdf.org
→ /u/chaorace@lemmy.sdf.org (link ref:/u/chaorace .sdf.org
)
- Typography substitutions:
(c)
→©(tm)
→™(r)
→®+-
→±→…
→—
--
→–????
(>= 4x)→???!!!!
(>= 4x)→!!!
- Github-flavor Markdown extensions:
- Subscript/Superscript:
- Footnotes:
- Ruby Text:
{example base text|example ruby text}
→example base text (image)- “Ruby” is an html-ism for special pronunciation aids which frequently appear within young person’s media where the language includes non-phonetic characters (e.g.: Chinese characters)
- Japanese Furigana example:
{凄|すご}い!
→凄い!(image)
- Spoilers:
::: spoiler visible part example hidden part example :::
- See below ⤵️ (collapsed image) (expanded image)
visible part example
hidden part example
- See below ⤵️ (collapsed image) (expanded image)
- Image/Video embedding:
![accessibility alt-text example](https://i.imgur.com/9nVMRqa.jpeg)
=> (image)
Note text ↩︎
On Connect, sub and up (which, I assume, was supposed to say sup) don’t get formatted.
Yeah, the sub (subscript) and up (superscript) were from Jebora’s editor, but they didn’t even render once posted
Thanks alot
Code Block is broken, but the rest works on kbin.
strike, sub and up doesn’t seem to work on kbin?
Oh, right, I didn’t see that the post continue after the code. Yeah, those three don’t work either.