YSK: How to format posts and comments on Lemmy

burgersc12@sh.itjust.works to You Should Know@lemmy.world – 13 points –
Screenshot-20230629-025509-Another-Notes hosted at ImgBB
ibb.co

Why YSK: In order to improve readability on this site and allow this site to continue to improve for both users and developers

Here's the results. Found from here since i left off basic tags like inline code, links and images eg. ![](https://link.example.png)

Note: not all tags are supported everywhere

^Superscript^ ~Subscript~ Italic Italic Bold Bold

Heading 1

Heading 2

Heading 1 alt

Heading 2 alt

Blockquote

List

  • List
  • List
  • List

List alt

  • List
  • List
  • List

Numbered List

  1. One
  2. Two
  3. Three

Numbered List alt

  1. One
  2. Two
  3. Three

Horizontal Rule


Horizontal Rule alt


# code block
print '3 backticks around' 
# code block
print 'indent 4 spaces before'

::: spoiler Text Label Actual Spoiler :::

14

Sounds great. Let’s try this thing.

  • List
  • Of
  • Many
  • things

a<-2 x<-1:10 b<-3 Y<-a*x+b plot(x,y)

Thanks for the list

::: spoiler test

This should be hidden

:::

Doesn’t seem to work, does wefwef not show formatting?

Might be wefwef then. For me, the spoiler is hidden (Firefox, Desktop version if that matters)

Swap "test" and "spoiler" around and add a paragraph behind "text" and "hidden". The first "spoiler" is part of the formatting, not the title of the spoiler ;)


If you write it as:

::: spoiler Title goes here

Hidden part goes here

:::

Here you can continue writing outside of the spoiler section


Then you will get:

::: spoiler Title goes here

Hidden part goes here

:::

Here you can continue writing outside of the spoiler section

Thanks for taking the time to help - still doesn’t seem to be working for me, and I can’t see a spoiler tag in your comment either.

Might be wefwef, might be my instance, might be my phone. In any case not a huge drama, I’ll just have to avoid any spoilery conversations.