#16147: fix: use a single asterisk to wrap the bold text in whatsapp
docs
stale
size: XS
Cluster:
WhatsApp Enhancements and Fixes
### Problem
When the agent uses whatsapp and what to emphatise some content it uses an extra asterisk (*) that wraps the whole bold text. As shown below:
<img width="507" height="279" alt="image" src="https://github.com/user-attachments/assets/3aed0b69-c353-4c52-b3b4-4b8d61fe19ba" />
### Root cause
The AGENTS.md contains the instruction that tells to use double asterisks (**) to emphatise some content:
```text
- **WhatsApp:** No headers — use **bold** or CAPS for emphasis
```
This behavior is wrong with whatsapp, because whatsapp do not follow the same markdown rules and it uses a single asterisk (*) for bold text. The whatsapp formatting is described [here](https://faq.whatsapp.com/539178204879377/).
### Fix
Simply define to use a single asterisk in the AGENTS.md for the specific channel whatsapp.
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Fixes the WhatsApp formatting instruction in the workspace AGENTS.md template. WhatsApp uses single asterisks (`*text*`) for bold, not double asterisks (`**text**`) like standard markdown. The old instruction caused the agent to produce `**bold text**` on WhatsApp, which rendered with visible extra asterisks instead of bold formatting. The fix also wraps the `*bold*` example in backticks so it displays literally rather than being interpreted as italic in markdown renderers.
- Corrected WhatsApp bold syntax from `**bold**` to `*bold*` with explanatory parenthetical
- Wrapped syntax example in backticks to prevent markdown rendering of the asterisks
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge — it's a small, correct documentation fix with no code changes.
- The change is a one-line documentation fix in a template file. It corrects an objectively wrong instruction (WhatsApp uses single asterisks for bold, not double). The fix is accurate per WhatsApp's documented formatting rules. No code, tests, or build artifacts are affected.
- No files require special attention.
<sub>Last reviewed commit: 906ef9e</sub>
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
**Context used:**
- Context from `dashboard` - docs/reference/templates/AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=ef691cbd-a005-4c3e-998b-6fcd72f2d312))
<!-- /greptile_comment -->
Most Similar PRs
#7395: fix(whatsapp): strip markdown bold/italic from URLs before sending
by lailoo · 2026-02-02
80.3%
#13431: feat(whatsapp): add built-in Markdown to WhatsApp format transform
by asklee-klawd · 2026-02-10
76.3%
#9237: Fix: WhatsApp QR code not rendering in chat
by vishaltandale00 · 2026-02-05
75.5%
#9606: fix: pass fileName to WhatsApp document messages
by AytuncYildizli · 2026-02-05
74.8%
#8052: fix(whatsapp): strip leading whitespace from outbound messages
by FelixFoster · 2026-02-03
73.9%
#10196: fix(whatsapp): sanitize raw mention IDs in outbound messages
by koala73 · 2026-02-06
72.6%
#23148: fix: forward mediaLocalRoots in whatsapp plugin sendMedia
by MunemHashmi · 2026-02-22
72.4%
#7458: fix: pass filename through to WhatsApp document sends (#7446)
by gavinbmoore · 2026-02-02
71.6%
#2716: Fix #2678: markdown horizontal rules not rendering in web chat
by Ambar-13 · 2026-01-27
71.2%
#12700: fix(tts): deliver WhatsApp voice as opus bubble instead of MP3 (#12...
by lailoo · 2026-02-09
71.0%