In Markdown, double asterisks or double underscores make text bold. Postman supports this syntax in descriptions.
# Header 1 Some *italic* text and a [link](https://example.com)
What will the rendered output look like?
Markdown renders # Header 1 as a large header, *italic* as italic text, and [link](url) as a clickable hyperlink.
pm.test('Description contains bold text', () => { const desc = pm.response.json().description; // Which assertion below is correct? });
Since the description is raw Markdown, checking for ** with a regex is best. HTML tags like <strong> won't appear in raw Markdown.
- Item 1 -Item 2 - Item 3
Why does only 'Item 1' render as a list item?
In Markdown, list items must have a space after the dash. '-Item 2' is treated as normal text, so only 'Item 1' is a list item.
Exporting the collection JSON and running a Markdown linter in CI is scalable and automated. Postman test scripts can't parse descriptions before execution, and UI tests are brittle.
