File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
### Bug Fixes
8
8
9
9
- Normalize all file paths on Windows, #2113 .
10
+ - Fix ` @link ` tags within lists, #2103 .
10
11
11
12
## v0.23.21 (2022-11-14)
12
13
Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ export function displayPartsToMarkdown(
139
139
case "@linkplain" : {
140
140
if ( part . target ) {
141
141
const url = typeof part . target === "string" ? part . target : urlTo ( part . target ) ;
142
- const wrap = part . tag === "@linkcode" ? "`" : "" ;
143
- result . push ( url ? `[ ${ wrap } ${ part . text } ${ wrap } ]( ${ url } ) ` : part . text ) ;
142
+ const text = part . tag === "@linkcode" ? `<code> ${ part . text } </code>` : part . text ;
143
+ result . push ( url ? `<a href=" ${ url } "> ${ text } </a> ` : part . text ) ;
144
144
} else {
145
145
result . push ( part . text ) ;
146
146
}
You can’t perform that action at this time.
0 commit comments