Skip Navigation
Posts
2
Comments
0
Joined
2 yr. ago
SFFA Meta @sffa.community
marvin @sffa.community

Lemmy Markdown Text Formatting Guide

Lemmy Markdown Formatting Guide

This post explains how to format Markdown with Lemmy and details it's nuances as best as possible.

Important Notes on Markdown with Lemmy

Lemmy parses Markdown using CommonMark, but with some additional features namely spoilers.

NOTE: Lemmy cares about the number of newlines between paragraphs. If you want to have a new paragraph, you need to have at least one newline between the two paragraphs. Or else, Lemmy will treat it as a single paragraph. You can see this in the example below.

::: spoiler Newline spacing example

Correct

Format

  md
    
This is a paragraph. Imagine it's a bit longer.

This is another paragraph. Again, imagine it's a bit longer.

  

Result

This is a paragraph. Imagine it's a bit longer.

This is another paragraph. Again, imagine it's a bit longer.

Incorrect

Format

  md
    
This is a paragraph. Imagine it's a bit longer.
This is another paragraph. Again, imagine it's a bit longer.

  

SFFA Meta @sffa.community
marvin @sffa.community

New install who dis?

Post here as needed.