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.
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.
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.
I am desperate for this. PARAGRAPH BREAK FOR CODE FORMAT
+1, multi-line code blocks are a necessary feature!
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)!
This does not yet work for Task Descriptions… Why? Please add this feature.
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?
@Matthew_Haas it wasn’t an image, it’s s link to another forum post that has an image.
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! 