Commit 22d860c
Use sed pre-processing instead of --remap for root-relative links
Replace the lychee --remap flag with a sed pre-processing step
(matching the approach used in MSAL Java) that rewrites
root-relative markdown links like [text](/path) to
[text](https://learn.microsoft.com/path) before lychee runs.
The --remap regex approach couldn't intercept root-relative links
before lychee's own root-relative resolver rejected them.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 857a404 commit 22d860c
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
25 | | - | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
0 commit comments