ClickUp Turns Pasted Markdown Into a Code Block — Fix
Pasting Markdown into ClickUp drops it into a single code block. The cause is a plain-text clipboard. Paste rich HTML instead and the blocks render.
Direct answer
ClickUp puts pasted Markdown into a code block because the clipboard holds plain text only. ClickUp cannot tell a spec from a code sample, so it keeps the text verbatim. The fix is to put HTML on the clipboard. Convert the Markdown here, press Copy Rich, and paste — ClickUp builds headings, lists, and tables instead of one grey box.
Open Markdown to ClickUp converterWhen to use this
- Every Markdown paste into ClickUp arrives as one grey monospace block.
- You removed the code block and the formatting is still raw # and ** text.
- You want a repeatable paste that does not need manual re-formatting.
Steps
- Delete the code block ClickUp created, so you start from an empty line.
- Paste the original Markdown into the converter on this page.
- Press Copy Rich to load the clipboard with HTML plus a plain-text fallback.
- Place the cursor on the empty line in ClickUp and paste with Ctrl+V or Cmd+V.
- Confirm the headings and bullets are real blocks by clicking into one.
Example conversion
## API rollout The `/v2/search` endpoint ships Tuesday. > Staging is already on the new build. - Update the SDK version - Re-run contract tests ```bash npm run test:contract ```
<h2 style="font-family:-apple-system,'Segoe UI',Roboto,sans-serif;font-size:18px;font-weight:600;margin:16px 0 8px;color:#171717;">API rollout</h2> <p style="font-family:-apple-system,'Segoe UI',Roboto,sans-serif;font-size:14px;line-height:1.5;color:#242424;margin:10px 0;">The <code style="font-family:Consolas,'Courier New',monospace;font-size:13px;background:#f3f3f3;padding:2px 5px;border-radius:3px;">/v2/search</code> endpoint ships Tuesday.</p> <blockquote style="font-family:-apple-system,'Segoe UI',Roboto,sans-serif;font-size:14px;line-height:1.5;color:#242424;margin:12px 0;padding:6px 0 6px 14px;border-left:3px solid #d1d1d1;color:#555;">Staging is already on the new build.</blockquote> <ul style="font-family:-apple-system,'Segoe UI',Roboto,sans-serif;font-size:14px;line-height:1.5;color:#242424;margin:10px 0;padding-left:22px;"><li style="margin:4px 0;">Update the SDK version</li><li style="margin:4px 0;">Re-run contract tests</li></ul> <pre style="font-family:Consolas,'Courier New',monospace;font-size:13px;background:#f6f8fa;padding:12px;border-radius:4px;border:1px solid #e1e4e8;white-space:pre-wrap;margin:12px 0;">npm run test:contract</pre>
Common mistakes
- Do not retype the document by hand. The paste path works once the clipboard carries HTML.
- Do not strip the fenced code blocks from your Markdown. Real code fences stay code blocks in the output, which is correct.
- Do not paste into a block that is already a code block. ClickUp keeps everything inside it as text.
FAQ
- Is this a ClickUp bug?
- No. It is a missing feature. Markdown paste support is a long-standing open request on ClickUp's feedback portal. The editor behaves as designed: it preserves unknown plain text exactly.
- Does the converter keep my real code blocks?
- Yes. Fenced blocks marked with triple backticks become a preformatted block in the HTML, so genuine code stays monospace while the rest of the document becomes normal text.
- Why not use ClickUp's Markdown import?
- ClickUp's import path works on whole files and creates new Docs. It does not help when you want to drop a section into an existing Doc or task description, which is what the rich paste solves.
- Will the grey background come along with the paste?
- No. Only fenced code blocks carry a code background. Headings, paragraphs, and lists arrive as ordinary formatted blocks.
Related ClickUp guides
How to Paste Markdown Into ClickUp Docs
ClickUp Docs turns pasted Markdown into a raw code block instead of formatted text. Convert the Markdown to rich HTML first, copy it as rich text, then paste into the Doc.
How to Put ChatGPT Output Into a ClickUp Task
ChatGPT answers are Markdown. Pasted into a ClickUp task description they show raw ## and ** characters. Convert first, then paste as rich text.
How to Get a Markdown Checklist Into ClickUp
Markdown task syntax with - [ ] does not become ClickUp checklist items on paste. Convert to a clean bullet list, paste it, then convert the list to a checklist in ClickUp.
How to Format an AI-Written Doc for ClickUp
Turn a long AI-written Markdown document into a properly formatted ClickUp Doc: headings, tables, quotes, and code stay intact through one rich paste.