# Create topics and master Markdown formatting

**URL:** <https://community.icinga.com/t/create-topics-and-master-markdown-formatting/69>\
**Category:** Meta Icinga\
**Tags:** formatting, markdown\
**Created:** [January 7, 2019, 4:01pm UTC](https://community.icinga.com/t/create-topics-and-master-markdown-formatting/69 "2019-01-07T16:01:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [January 7, 2019, 4:01pm UTC](https://community.icinga.com/t/create-topics-and-master-markdown-formatting/69/1 "2019-01-07T16:01:06Z")

</div>

## [Edit and write topics](#editing)

Discourse uses Markdown as markup language. If you are familiar with GitHub, you’re good to go. If not, please follow [this guide](https://help.github.com/articles/basic-writing-and-formatting-syntax/).

 ![48](https://community.icinga.com/uploads/default/original/1X/35ccad78fed5fae3d7986f85d66bcea61ae72a3a.png)

While you type something into the editor, you’ll recognize many things:

- live preview as you type on the right side
- if someone else is replying, a short notice on top of the editor
- you can navigate to a different page, and still reply to the “old” topic
- sessions are stored, which means that a draft text can be started on your Macbook and posted on your Ipad later.

You can use emojis to express your feelings. Start typing a colon `:` and pick one from the popup editor.

## [Formatting Tips](#editing-formatting)

### [Quotes](#editing-Quotes)

If you need to quote a text, select it with the mouse and click the appearing "Quote button to insert it into your reply.

 ![01](https://community.icinga.com/uploads/default/original/1X/164523c18e94f19f37725aeca5531c9b2ff65504.png)

### [Code Blocks](#editing-codeblocks)

Use three backticks for multi-line code blocks, configuration snippets, log outputs, long texts, etc. - everything you know from Wordpress’s `<pre>` tags or Confluence `noformat` or `code` blocks.

````auto
```
2018-02-01 all is good.
2018-02-02 uh, oh.
2018-02-03 kaboom.
```
````

### [Headings](#headings)

```auto
# Heading 1

```

# Heading 1

### [URLs](#editing-urls)

```auto
[url text](https://icinga.com)

```

becomes:

[url text](https://icinga.com)

#### Relative URLs to static pages

You can use Markdown styled URLs with relative urls, e.g. /faq

```auto
as outlined in the [FAQ](/faq)

```

becomes:

as outlined in the [FAQ](https://community.icinga.com/faq)

### [Lists](#editing-lists)

```auto
* Major Task 1
  * Task 1  

```

- Major Task 1
  - Task 1

### [Tables](#tables)

```auto
  Value | Host State | Service State
  ------|------------|--------------
  0 | Up | OK
  1 | Up | Warning
  2 | Down | Critical
  3 | Down | Unknown

```

renders as

| Value | Host State | Service State |
| --- | --- | --- |
| 0 | Up | OK |
| 1 | Up | Warning |
| 2 | Down | Critical |
| 3 | Down | Unknown |

### [Mentions](#editing-mentions)

If you want to mention another user, just type @ and select a possible name. Once your reply is saved, this user gets notified.

 ![31](https://community.icinga.com/uploads/default/original/1X/486286c03895bf2091d7d9610848b0708de3c18f.png)

## [Images](#images)

Images, screenshots and other graphics really help to understand a problem, or illustrate a procedure. This can be for example an exported Gliffy image, or just a printed screen.

You can add a new image with the upload icon. Either from your local disk, or from a web URL.

If you need to move the image around, just copy the entire `![31|385x233](upload://aklt7kcoGnKdMMXgCd3cxnch087.png) ` block to its desired location.

The embedded URL allows you to scale the image too. Discourse also downloads web images to cache them for faster access, or in case of broken images in the future.

## [Details](#Details)

If you have a bulk of information that you want to hide behind a collapible, you can use details.

> **Details**
>
> ```auto
> [details="Details"]
> This text will be hidden
> [/details]
> 
> ```

This is especially useful if you have a long chunk of config or code you want to share but not clutter up the entire topic with it.

---

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [January 7, 2019, 4:04pm UTC](https://community.icinga.com/t/create-topics-and-master-markdown-formatting/69/2 "2019-01-07T16:04:04Z")

</div>


