To fix broken Claude formatting, first check whether the reply is already damaged in the chat or changes only after you paste it elsewhere. Repair malformed source in the first case, or change the transfer route if pasting caused the damage. Keep the original text so you can confirm that a cleaner layout hasn’t changed a number, removed a sentence, or altered code.
Locate the first broken version
Compare the answer in Claude with the pasted document before asking for a rewrite. A table that looks correct in the chat but arrives as plain text points to a different problem from a table with an extra column in the original reply.
| Symptom | Likely place to investigate | First repair |
|---|---|---|
| Table is malformed inside the reply | Table syntax or generated structure | Repair the affected row or header |
| Table breaks only after pasting | Destination’s accepted format | Try a document conversion route |
| Asterisks and headings appear literally | Markdown source is being displayed | Open it in a Markdown-aware view |
| Paragraphs merge after pasting | Line-break handling | Compare paragraph boundaries with the source |
| Code indentation changes | Whitespace handling | Transfer the code block separately |
These are diagnostic starting points, not proof of a particular bug. If nothing new pastes at all, begin with Claude’s copy checks before changing the document’s formatting.
Repair the table’s actual structure
Markdown tables depend on delimiters, not visual spacing alone. In GitHub’s table documentation, pipes separate columns, a delimiter row separates the header, and a backslash can escape a literal pipe inside a cell.
GitHub also states, “You must include a blank line before your table in order for it to correctly render.” That instruction describes GitHub’s renderer. Check your destination’s syntax before applying the same repair elsewhere.
Here’s a malformed maintenance table. The first data row contains a pipe that belongs in the equipment’s label, but it looks like another column separator:
| Item | Status |
| Intake | exhaust valve | Pending |
| Outlet valve | Checked |
For a destination using GitHub-style table syntax, repair the header separator and escape that literal pipe. The intended result still has the same equipment labels and statuses:
| Item | Status |
| --- | --- |
| Intake \| exhaust valve | Pending |
| Outlet valve | Checked |
Check the displayed result against the original intended values. Adding a plausible missing value or moving a status into the wrong row would be a data change, even if the table looked better afterward.
Separate Markdown from stray characters
Markup can be visible because you’re looking at source text, because the destination doesn’t interpret it, or because the answer placed that source inside a code block. Those situations need a different response from genuinely unwanted characters scattered through ordinary prose.
Before stripping symbols, identify their role in the passage. An asterisk can indicate emphasis, a multiplication operator, or a literal character in a code example; deleting all of them would treat unrelated cases as the same problem.
For a prose passage, ask for the specific presentation you need. Keep a copy of the original so that you can compare meaning after the repair:
Repair only the formatting of the passage below.
Return ordinary paragraphs and a rendered table, not a code block.
Preserve every word, value, unit, row, and source link.
Do not fill missing cells or rewrite the argument.
If the intended structure is ambiguous, identify the ambiguity first.
Apply this request to the smallest damaged section. You’ll have less text to compare, and a successful local repair won’t unnecessarily rewrite the surrounding answer.
Preserve meaningful line breaks
First distinguish a line that wraps to fit the window from a deliberate paragraph or code line. Resizing the window may move a visual wrap, while a meaningful line break belongs to the content you need to preserve.
MDN’s preformatted-text documentation explains why code-style presentation treats whitespace differently from ordinary prose. The practical consequence is to handle code, poetry, and aligned text separately rather than applying one paragraph-cleanup operation to everything.
- Keep a copy of the unmodified passage.
- Identify the intended paragraph or code boundaries.
- Repair only the affected block.
- Compare its opening and closing lines.
- Check indentation or stanza breaks where they carry meaning.
For code, a visually neat result still needs the normal review you’d give any copied program. Formatting repair confirms the transfer, not the program’s behavior.
Change the transfer route when needed
If the original reply looks right, try a different receiving document before regenerating it. MDN’s clipboard guide explains that copied content can provide several formats and that the destination picks a representation it understands.
For the original chat in desktop Chrome, DocMyChat offers Copy, Word, and Markdown routes. Word exports use real tables and heading styles; clipboard formulas arrive in Google Docs as LaTeX text, so use the Word equation route when editable equations matter.
For text you’ve already copied, the website’s Markdown-to-Word converter offers a separate route without the extension.
Check content before polishing
Review the repaired passage for unchanged values, links, paragraph order, and meaningful whitespace. Only then adjust fonts or spacing. A polished layout can still hide a changed value.
Choose one broken table, paragraph, or code block now. Repair that block and compare it with the saved original before applying the same method elsewhere.
Questions
Why do asterisks appear when I paste a Claude answer?
You may be looking at Markdown source in a destination that doesn’t render Markdown. Keep a copy of the source, then use a compatible editor or convert it; deleting every asterisk can remove meaningful characters from code or formulas.
Why does a vertical bar split my table cell?
In GitHub-flavored Markdown, a vertical bar separates cells unless it’s escaped. Check the intended destination’s table syntax before repairing the row, and compare every value with the original afterward.
Should I ask Claude to make the whole answer prettier?
Give a narrower instruction that identifies the damaged structure and forbids changes to facts or values. A general rewrite is harder to compare with the original and may alter wording you needed to preserve.
Can I fix indentation by deleting all line breaks?
No. Line breaks and indentation can be meaningful in code, poetry, and structured text. Repair prose paragraphs separately from material whose whitespace carries information.