# \[Tip\] Please use Preformatted Text for Logs and Code Blocks for cleaner posts

**URL:** <https://community.homey.app/t/tip-please-use-preformatted-text-for-logs-and-code-blocks-for-cleaner-posts/149488>\
**Category:** Moderators Announcements\
**Created:** [January 17, 2026, 10:51pm UTC](https://community.homey.app/t/tip-please-use-preformatted-text-for-logs-and-code-blocks-for-cleaner-posts/149488 "2026-01-17T22:51:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [January 17, 2026, 10:51pm UTC](https://community.homey.app/t/tip-please-use-preformatted-text-for-logs-and-code-blocks-for-cleaner-posts/149488/1 "2026-01-17T22:51:11Z")

</div>

To ensure our community can provide the best help, please use **Preformatted Text** for all technical content.

### Why Use Preformatted Text?

When you paste logs, configuration files, or code snippets as plain text, Discourse often alters the formatting. This makes it difficult to read and can strip away crucial characters needed to diagnose your issue.

If you didn’t create it yourself, like logs or JSONs (interviews) paste it as Preformatted Text!

For smaller Code, Logs etc. in context of a topic, but want to share in the topic/reply past small Code blocks and code snips, preferably with the correct type of formatting.

### How to Format Your Content

#### 1. The Toolbar Method

Highlight your code or log block and click the **`</>` icon** in the composer toolbar. This will wrap your text in backticks.

#### 2. The Keyboard Shortcut

Highlight your text and press `Ctrl` + `e` (or `Cmd` + `e` on Mac).

#### 3. Manual Fencing (Best for long blocks)

For logs or multiple lines of code, place three backticks ````` on a separate line before and after your content:

`Your code, config, or logs go here`

### What should be formatted?

- **Code snippets** (Python, JS, C++, etc.)

- **Configuration files** (`.yaml`, `.json`, `.conf`, etc.)

- **Terminal output** and error logs

- **Commands** you ran in the terminal

## Pro-Tip

Enabling the “rich text editor“ you also can choose between many types of text (from plaintext, markdown, java, javascript, json and many more.)

[![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/635b68a9336ffbcb74b3e3a8c2eb8b44ed513412.png)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/635b68a9336ffbcb74b3e3a8c2eb8b44ed513412.png "image")

[image333×113 5.37 KB](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/635b68a9336ffbcb74b3e3a8c2eb8b44ed513412.png "image")

[![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/68b3d2396aa0867f5a1f3159ba394f9ad961fa9d.png)](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/68b3d2396aa0867f5a1f3159ba394f9ad961fa9d.png "image")

[image892×297 18.7 KB](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/68b3d2396aa0867f5a1f3159ba394f9ad961fa9d.png "image")

For more advanced tips, you can check the Discourse Markdown Guide.

> Created with AI, responses may include mistakes. [Learn more](https://support.google.com/websearch?p=aimode)

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [January 17, 2026, 10:51pm UTC](https://community.homey.app/t/tip-please-use-preformatted-text-for-logs-and-code-blocks-for-cleaner-posts/149488/2 "2026-01-17T22:51:20Z")

</div>

When you get a reply with a link to this post, read above Tip and edit your post to select the log/code/text block and apply the preformatted text. Your Post looks cleaner an many community members will be happier to read your post.

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [January 17, 2026, 11:02pm UTC](https://community.homey.app/t/tip-please-use-preformatted-text-for-logs-and-code-blocks-for-cleaner-posts/149488/3 "2026-01-17T23:02:56Z")

</div>

> [@Dijker](#):
>
> past it as Preformatted Text!

There’s a typo here
