OpenClaw plugin that strips Markdown formatting from outgoing messages on plaintext channels.
LLMs like Claude produce Markdown by default — **bold**, _italic_, ### headers, `code`, - lists. On channels like iMessage that don't render Markdown, this results in ugly raw syntax in your messages. This plugin hooks into message_sending and removes all Markdown formatting before delivery.
openclaw plugins install openclaw-plugin-markdown-stripBy default, the plugin strips Markdown on iMessage only. To add more channels:
Available channel IDs: imessage, signal, whatsapp, telegram, discord, slack, sms, irc, msteams, mattermost, etc.
| Markdown | Result |
|---|---|
**bold** |
bold |
_italic_ |
italic |
`code` |
code |
```codeblock``` |
codeblock content |
### Header |
Header |
[text](url) |
text |
 |
alt |
> blockquote |
blockquote |
- list item |
list item |
~~strikethrough~~ |
strikethrough |
--- |
(removed) |
\*escaped\* |
escaped |
Ordered lists (1. item) are preserved as-is since they're readable in plaintext. Snake_case identifiers are not touched.
The plugin registers a message_sending hook that fires before each outgoing message. If the target channel is in the configured list, it runs the message through a series of regex replacements that strip Markdown syntax while preserving the readable text content.
# Run tests
npm test
# Link for local development
openclaw plugins install -l .MIT