# Add markdown to selected text

**URL:** https://meta.discourse.org/t/add-markdown-to-selected-text/357385
**Category:** Feature
**Tags:** composer
**Created:** [March 15, 2025, 9:38am UTC](https://meta.discourse.org/t/add-markdown-to-selected-text/357385 "2025-03-15T09:38:14Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [March 15, 2025, 10:41am UTC](https://meta.discourse.org/t/add-markdown-to-selected-text/357385/10 "2025-03-15T10:41:55Z")

</div>

There’s a #Documentation topic about the code formatting:

> [@Posting code or preformatted text](https://meta.discourse.org/t/posting-code-or-preformatted-text/188910):
>
> bookmark This guide explains how to post code or preformatted text in Discourse using Markdown, BBCode, and HTML formats. person_raising_hand Required user level: All users Have a line of code you need to share? Maybe you need to share an error log from your site? Reading unformatted code can be challenging, especially if the code depends on spacing or contains special characters that Discourse transforms. Summary In this guide, you’ll learn: How to format inline code. How to format …

---

_[View the full topic](https://meta.discourse.org/t/add-markdown-to-selected-text/357385)._
