(target: str, display_text: str)
| 285 | |
| 286 | |
| 287 | def _note_wikilink(target: str, display_text: str) -> str: |
| 288 | display = normalize_whitespace(display_text) |
| 289 | if display: |
| 290 | return f"[[{target}|{display}]]" |
| 291 | return f"[[{target}]]" |
| 292 | |
| 293 | |
| 294 | def build_vault_note_index(config: dict[str, Any]) -> dict[str, Any]: |
no test coverage detected