(target: string)
| 57 | } |
| 58 | |
| 59 | export function isPathLikeWikilinkTarget(target: string): boolean { |
| 60 | const trimmed = target.trim() |
| 61 | return trimmed.startsWith('/') || trimmed.includes('/') || /\.md$/i.test(trimmed) |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * Strip a `#heading` / `^block` anchor off a wikilink target — it points within |
no outgoing calls
no test coverage detected