Skip to content

Commit eb27ec2

Browse files
HanSur94claude
andcommitted
fix: escape markdown link examples in MarkdownRenderer doc comment
Wrap `[links](url)` and `![images](src)` in backticks so the wiki link checker does not treat them as real file references. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent acfa90b commit eb27ec2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

libs/Dashboard/MarkdownRenderer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
%
88
% Converts a subset of Markdown to a self-contained HTML document.
99
% Supported: headings (#-###), **bold**, *italic*, `inline code`,
10-
% fenced code blocks, [links](url), ![images](src), unordered/ordered
10+
% fenced code blocks, `[links](url)`, `![images](src)`, unordered/ordered
1111
% lists, horizontal rules (---), tables (pipe-delimited), and paragraph
1212
% breaks.
1313
%

wiki/API-Reference:-Dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ html = MarkdownRenderer.render(mdText)
690690

691691
Converts a subset of Markdown to a self-contained HTML document.
692692
Supported: headings (#-###), **bold**, *italic*, `inline code`,
693-
fenced code blocks, [links](url), ![images](src), unordered/ordered
693+
fenced code blocks, `[links](url)`, `![images](src)`, unordered/ordered
694694
lists, horizontal rules (---), tables (pipe-delimited), and paragraph
695695
breaks.
696696

0 commit comments

Comments
 (0)