Post Formatting Hints

Yo! This post is a wiki. If you’ve got something that you’ve found especially helpful, edit and add it below.

You can format your posts with Markdown (not commonmark yet, but close) in Discourse. That’s neat! Things that will be especially relevant for our community:

Code Highlighting

We can highlight any language by adding it in a code fence (code surrounded by 3 backticks). That is, you get this:

import Html exposing (text)


main : Html msg
main =
    text "Hello, World!"

… by doing this:

```elm
import Html exposing (text)


main : Html msg
main =
    text "Hello, World!"
```

Block Quotes

You can quote people by highlighting the stuff you want to reply to and clicking the quote icon. But if you’ve got some external document you’re quoting, pretend it’s email and prefix each line with >:

It matters not how straight the gate,
How charged with punishments the scroll.
I am the master of my fate.
I am the captain of my soul.

– Stranza from Invictus, William Ernest Henley

… looks like this in your source

> It matters not how straight the gate,
> How charged with punishments the scroll.
> I am the master of my fate.
> I am the captain of my soul.

– Stranza from *Invictus*, William Ernest Henley
3 Likes

That’s cool but I seem unable to edit this post yet. Do I not enough have permissions or something?

When you posted this you may have been in the new user sandbox. Looks like you’re a level 2 user now, so try again.