/export strips inline markdown formatting (bold, etc.) — /copy preserves it
Resolved 💬 3 comments Opened Mar 14, 2026 by unthingable Closed May 4, 2026
Description
/export strips inline markdown formatting from the output file. For example, **bold text** is exported as plain bold text with the asterisks removed. /copy correctly preserves the raw markdown.
Steps to Reproduce
- Have a conversation where Claude uses bold text (e.g.,
**important**) - Run
/export→ open the resulting file → bold markers are stripped - Run
/copy→ paste into a text editor → bold markers are preserved
Expected Behavior
/export should preserve raw markdown formatting in the output file, consistent with /copy.
Actual Behavior
Inline markdown is stripped (at minimum **bold**). Other inline formatting (italics, inline code) may be affected as well — not fully tested.
Environment
- Claude Code version: 2.1.76
- OS: macOS 15 (Darwin 24.6.0, arm64)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗