# Simplify formatting of code/monospace blocks

**URL:** <https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179>\
**Category:** Features Launched\
**Tags:** productivity, ux, launched\
**Created:** [14 November 2022 19:10 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179 "2022-11-14T19:10:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernhard\_Schussek](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/bernhard_schussek/32/7954_2.png) [@Bernhard\_Schussek](https://forum.asana.com/u/Bernhard_Schussek)\
**Post date:** [14 November 2022 19:10 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/1 "2022-11-14T19:10:17Z")

</div>

With the new editor, there is one major regression that is quite annoying for us. When you paste a block of code, all lines are turned into paragraphs. When you select these lines and format them as monospace (Ctrl+Shift+M), they _remain_ separate paragraphs.

When you start a fresh paragraph, format as monospace (Ctrl+Shift+M), enter some text and hit enter, Asana **inserts a line break instead of a paragraph break**. Hence I think the following behavior would be consistent:

When you select multiple consecutive paragraphs and format them as monospace, **paragraph breaks should be turned into line breaks**.

This IMO would be a great UX improvement and a simple solution to [Code snippets in Asana - #259 by Bacontastic](https://forum.asana.com/t/code-snippets-in-asana/2182/259).

---

<div class="post-metadata">

**Author:** ![Tony\_Sileo](https://luna1.co/8d76cd.png) [@Tony\_Sileo](https://forum.asana.com/u/Tony_Sileo)\
**Post date:** [3 July 2023 11:24 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/2 "2023-07-03T11:24:47Z")

</div>

yes! this is annoying. there seems to be no way to have an embedded code block with multiple lines. Even Shift-Enter doesn’t work when typing within a code block - it ends the block.

---

<div class="post-metadata">

**Author:** ![Philip\_Olafsen](https://luna1.co/8d76cd.png) [@Philip\_Olafsen](https://forum.asana.com/u/Philip_Olafsen)\
**Post date:** [18 April 2024 12:23 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/3 "2024-04-18T12:23:28Z")

</div>

Im encountering formatting issues when pasting code in an Asana task right now, so I’m assuming this isn’t implemented yet. I seriously think this should be implemented by now, and hope someone looks at this or maybe I’m just not doing it correctly? The line breaks are really making the code ugly and hard to read.

---

<div class="post-metadata">

**Author:** ![지현11](https://luna1.co/8d76cd.png) [@지현11](https://forum.asana.com/u/%EC%A7%80%ED%98%8411)\
**Post date:** [17 May 2024 04:52 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/4 "2024-05-17T04:52:11Z")

</div>

I am desperate for this. PARAGRAPH BREAK FOR CODE FORMAT

---

<div class="post-metadata">

**Author:** ![Neil\_Shankar](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/neil_shankar/32/166195_2.png) [@Neil\_Shankar](https://forum.asana.com/u/Neil_Shankar)\
**Post date:** [14 June 2024 21:28 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/5 "2024-06-14T21:28:12Z")

</div>

+1, multi-line code blocks are a necessary feature!

---

<div class="post-metadata">

**Author:** ![John\_Quinn1](https://luna1.co/8d76cd.png) [@John\_Quinn1](https://forum.asana.com/u/John_Quinn1)\
**Post date:** [3 September 2024 23:21 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/6 "2024-09-03T23:21:52Z")

</div>

PLEASE add this. +1.

---

<div class="post-metadata">

**Author:** ![Matthew\_Haas](https://luna1.co/8d76cd.png) [@Matthew\_Haas](https://forum.asana.com/u/Matthew_Haas)\
**Post date:** [27 September 2024 16:45 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/7 "2024-09-27T16:45:18Z")

</div>

I saw this excerpt in an Asana Forum Summary:

`* To support both quote blocks and code blocks in the Asana product, the HTML tags `

> `and`
> 
> ```
> have been added to all Asana objects that interact with [rich text](https://developers.asana.com/docs/rich-text)!
> ```

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [27 September 2024 19:48 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/8 "2024-09-27T19:48:22Z")

</div>

> [@Matthew\_Haas](#):
>
> I saw this excerpt in an Asana Forum Summary:

Yes - see:

> [@Codesana](https://forum.asana.com/t/codesana/368788/3):
>
> @Андрей_Антыков, It’s not as fancy as Codesana but you can add code blocks to Asana task descriptions now: [image]

---

<div class="post-metadata">

**Author:** ![Matthew\_Haas](https://luna1.co/8d76cd.png) [@Matthew\_Haas](https://forum.asana.com/u/Matthew_Haas)\
**Post date:** [27 September 2024 20:06 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/9 "2024-09-27T20:06:54Z")

</div>

Thanks, but I can’t see the attached image. I’m specifically referring to multi-line code blocks. Are those possible in Asana task descriptions?

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [28 September 2024 00:25 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/10 "2024-09-28T00:25:07Z")

</div>

@Matthew_Haas it wasn’t an image, it’s s link to another forum post that has an image.

---

<div class="post-metadata">

**Author:** ![Emily\_Roman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/emily_roman/32/283076_2.png) [@Emily\_Roman](https://forum.asana.com/u/Emily_Roman)\
**Post date:** [4 September 2026 10:10 UTC](https://forum.asana.com/t/simplify-formatting-of-code-monospace-blocks/254179/11 "2026-09-04T10:10:11Z")

</div>

Hi everyone 👋 Today I wanted to announce you can now copy supported Markdown, paste it into an Asana rich-text editor, and review it as formatted rich text without manually rebuilding links, lists, quotes, or code.

To try it, copy your Markdown, open a supported Asana rich-text editor, paste, and review the converted formatting. The conversion supports headings, bold, italic, ordered and unordered lists (including nested lists), links, blockquotes, inline code, fenced code blocks, strikethrough, underline, and horizontal rules.

This is a one-way paste conversion rather than a Markdown editing mode. Tables, checklists, footnotes, definition lists, heading anchors, and image conversion aren’t included in this version, and Markdown export or .md file import isn’t part of the experience.

Give it a try and tell us what you think! 🙂
