discord-markdown
Installation
SKILL.md
Discord Markdown Formatting
Format text for Discord's chat rendering engine. Discord uses a modified subset of Markdown with some unique additions (spoilers, timestamps, subtext, guild navigation).
Output Presentation β CRITICAL
When composing a Discord message for the user, always present the final message inside a fenced code block so the user can copy-paste it directly into Discord with all markdown formatting intact.
Why: Claude's chat interface renders markdown (e.g., **bold** becomes bold). If the user copies rendered text, the markdown syntax is stripped and the message loses its formatting when pasted into Discord. A code block preserves the raw syntax.
How to Present Discord Messages
Always wrap the final copy-paste-ready message in a fenced code block with the markdown language tag:
```markdown
# π Announcement
**This is bold** and ~~this is struck~~ and ||this is a spoiler||