Given that Jebora has markdown support, just throwing a few bits in here…

bold and italic

  • li item 1
  • li item 2

Quote

heading

link

inline code

Code block
// Not trying xss just doing examples
alert("example")

strike

sub

up

  • chaorace@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    1 year ago

    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[email protected] (link ref: /c/fediverse@lemmy.ml)
      • Users: /u/chaorace@lemmy.sdf.org/u/[email protected] (link ref: /u/chaorace@lemmy.sdf.org)
    • Typography substitutions:
      • (c)→©
      • (tm)→™
      • (r)→®
      • +-→±
      • ...→…
      • ---→—
      • --→–
      • ???? (>= 4x)→???
      • !!!! (>= 4x)→!!!
    • Github-flavor Markdown extensions:
    • Subscript/Superscript:
      • Sub: example~sub~→examplesub (image)
      • Super: example^super^→examplesuper (image)
    • Footnotes:
      • Inline part: example[^notename]→example[1] (image)
      • Bottom part: [^notename]: Note text→(see bottom of post) (image)
        • Important: the bottom part must be at the very end of the post, otherwise both halves of the footnote will break!
    • Ruby Text: {example base text|example ruby text}example base textexample ruby 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
      :::
      
    • Image/Video embedding: ![accessibility alt-text example](https://i.imgur.com/9nVMRqa.jpeg) => accessibility alt-text example (image)

    1. Note text ↩︎

    • oohgodyeah@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      Your hyperlink to the Official Spec doesn’t work for me on Vger. It launches my web browser without a URL and hiding down on the link doesn’t reveal its destination.

    • Orphie Baby@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I think this should be put on a page someone on Lemmy. Somewhere that’s easy to find. The tables and stuff too.