v2026.3.2
Bug fix: Inline markdown inside links was not rendered (#7).
Bug fixes
- Link renderer not rendering inner tokens (#7) — The custom
markedlink renderer was using the rawtextproperty instead of rendering inner tokens viathis.parser.parseInline(tokens). This caused any inline markdown inside links — images, bold, italic, code, strikethrough, and inline HTML — to appear as raw markdown text instead of rendered HTML.- Example:
[](/link)produced<a>""</a>instead of<a><img src="/img.svg" alt="Alt"></a> - Affected all inline formatting inside links, not just images
- Example:
Tests
- 9 new test cases for inline markdown inside links (70 total, up from 61):
- Bold, italic, inline code, and strikethrough inside links
- Image wrapped in link (with dimension parsing from title)
- External image inside internal link
- Mixed formatting (
**bold** and *italic*) in a single link - Formatted text inside external links (verifies SVG icon placement)
- Inline HTML (
<sup>) inside links
Breaking changes
None.
Requirements: Node.js >= 18