Auto-Complete
IWE can suggest links as you type using the standard LSP code completion feature.
Link Format
By default, completions insert Markdown-style links [title](key). You can configure IWE to use WikiLinks [[key]] instead:
[completion]
link_format = "wiki"Available options:
"markdown"(default): Creates[title](key)style links"wiki": Creates[[key]]style WikiLinks
Minimum prefix length
By default, IWE requires at least 3 characters before showing completion suggestions. You can adjust this threshold:
[completion]
min_prefix_length = 3Set to 0 to always show completions regardless of how many characters have been typed.
Document Titles
By default, IWE uses the first header of a document as its title in completion suggestions. You can configure IWE to use a YAML frontmatter field instead:
[library]
frontmatter_document_title = "title"With this configuration, documents with frontmatter like:
---
title: Custom Document Title
---
# HeaderWill appear in completions as “Custom Document Title” and insert [Custom Document Title](key) when selected. If the frontmatter field is missing, IWE falls back to using the first header.