How do I create code blocks in my posts?

Older but proven:

Discourse (the forum software) supports Markdown for formatting posts, here is an example of Markdown (on the left the input and on the right the result - not all of it works here in the forum):


Btw, related to your other topic: It is not helpful to open a topic in panic if something does not work. Always use the forums search first (even posting a garuda-inxi and formatting terminal output correctly has been explained in several threads). Go ahead and take your time when writing a post, think before you write. :slight_smile:
Describe your problem exactly, what happened when and what error (messages) occurred. Just follow the topic template, and if you don’t know how something works, it’s best to ask about it in your starting post. We all started out with little or no knowledge (young or old), nobody is going to rip someone’s head off just because they’re a newbie who doesn’t know everything.

And always remember: the tone makes the music. :wink:

3 Likes