this post was submitted on 12 Jul 2023
204 points (99.0% liked)

Sync for Lemmy

15088 readers
1 users here now

๐Ÿ‘€


Welcome to Sync for Lemmy!

Download Sync for Lemmy


Welcome to the official Sync for Lemmy community.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Community Rules


1- No advertising or spam.

All types of advertising and spam are restricted in this community.



Community Credits

Artwork and community banner by: @[email protected]


founded 1 year ago
MODERATORS
 

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^

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 14 points 1 year ago* (last edited 1 year ago) (2 children)

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:
  • Typography substitutions:
    • (c)โ†’ยฉ
    • (tm)โ†’โ„ข
    • (r)โ†’ยฎ
    • +-โ†’ยฑ
    • ...โ†’โ€ฆ
    • ---โ†’โ€”
    • --โ†’โ€“
    • ???? (>= 4x)โ†’???
    • !!!! (>= 4x)โ†’!!!
  • Github-flavor Markdown extensions:
    • Tables
    • Strikethrough: ~~example~~โ†’~~example~~ (image)
  • Subscript/Superscript:
    • Sub: example~sub~โ†’example~sub~ (image)
    • Super: example^super^โ†’example^super^ (image)
  • Footnotes:
    • Inline part: example[^notename]โ†’example[^notename] (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 text|example 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:
    visible part examplehidden part example
  • Image/Video embedding: ![accessibility alt-text example](https://i.imgur.com/9nVMRqa.jpeg) => accessibility alt-text example (image)

[^notename]: Note text

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[โ€“] [email protected] 3 points 1 year ago (1 children)

Nice catch. I messed up the formatting on that link by putting an extra pair of parenthesis in there -- fixed now.

[โ€“] [email protected] 3 points 1 year ago

Confirmed that link is working now. Thanks for this useful info!

[โ€“] [email protected] 2 points 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.