Commit eb71b9f
committed
fix(memory-wiki): ignore wikilink-like text in code spans during lint
The wikilink extractor ran OBSIDIAN_LINK_PATTERN against raw markdown,
so [[...]] inside fenced code blocks and inline code spans were reported
as broken wikilinks. Strip fenced blocks (line-by-line, matching backtick
and tilde fences of any length, including bare fences) and inline code
spans before extraction.
Fixes #979451 parent e4f9e83 commit eb71b9f
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
537 | 542 | | |
538 | 543 | | |
539 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments