We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c68ea commit 0d102a7Copy full SHA for 0d102a7
1 file changed
test/unit/docs-text.spec.ts
@@ -252,4 +252,14 @@ describe('renderMarkdown', () => {
252
expect(result).toContain('<code class="docs-inline-code">code</code>')
253
expect(result).toContain('shiki')
254
})
255
+
256
+ it('should handle basic markdown links', async () => {
257
+ const result = await renderMarkdown(
258
+ 'This [thing](https://example.com) is really important',
259
+ emptyLookup,
260
+ )
261
+ expect(result).toContain(
262
+ 'This <a href="https://example.com" target="_blank" rel="noreferrer" class="docs-link">thing</a> is really important',
263
264
+ })
265
0 commit comments