github iwe-org/iwe iwe-v0.2.0
v0.2.0

latest releases: iwec-v0.2.0, iwes-v0.2.0
5 hours ago

iwe

Added

  • markdown.formatting.ordered_list_content_indent and markdown.formatting.bullet_list_content_indent config options set the minimum indentation for list item content and continuation lines (accepts 24); set either to 4 for MkDocs-style alignment (1. item / - item with 4-space continuation) instead of the default single space after the marker

Fixed

  • iwe normalize now renders a list as loose (a blank line between items) when any item contains a code block, table, blockquote, or horizontal rule, so a following item is no longer glued directly under the preceding item's block (previously only items with multiple paragraphs triggered loose rendering)

iwes

Added

  • markdown.formatting.ordered_list_content_indent and markdown.formatting.bullet_list_content_indent config options control the minimum indentation of list item content in normalize-on-format output (accepts 24); set either to 4 for MkDocs-style alignment (1. item / - item with 4-space continuation)

Fixed

  • Hover, go-to-definition, and find-references for wiki links ([[name]]) now resolve the target by basename anywhere in the workspace rather than relative to the current file's folder, so a wiki link in a nested folder finds its target in another folder.

Changed

  • Completion and the create-link code action now insert wiki links in their shortest unambiguous form (e.g. [[target]] instead of [[folder/target]]), and normalize-on-format rewrites existing wiki links to that form.

liwe

Added

  • markdown.formatting.ordered_list_content_indent: Option<usize> and markdown.formatting.bullet_list_content_indent: Option<usize> set the minimum column where list item content and continuation lines start (accepts 24; other values are ignored). When unset, content aligns one space after the marker as before; set to 4 for MkDocs-style alignment (1. item / - item with 4-space continuation). The natural marker width is always respected. FormattingOptions gains the ordered_list_content_indent() / bullet_list_content_indent() getters.

Fixed

  • List rendering now treats a list as loose when any item contains a block requiring blank-line separation (code block, table, blockquote, horizontal rule), inserting a blank line between items, so a following item is no longer glued directly under the preceding item's block (previously only multi-paragraph items triggered loose rendering)
  • Wiki links ([[name]]) now resolve by path-suffix across the whole document set instead of relative to the linking file's directory: a bare name matches any document with that basename, and a partial path ([[folder/name]]) matches any document whose path ends with those segments, with ambiguity resolved deterministically (fewest path segments, then lexicographic). Markdown link resolution is unchanged, and wiki link backlink edges are keyed by the resolved target.

Changed

  • Wiki link references are now stored fully resolved in the graph — resolved to their canonical Key when the document is built, the same way markdown links are — so reference and inclusion edges carry the resolved target and no longer need to be re-resolved at query time. The shortest path-suffix form is computed only when rendering markdown (document content and completion).
  • Graph caches a KeyIndex built from its keys and exposes it via Graph::key_index(&self) -> &KeyIndex (previously this method built and returned an owned index per call); the cache is kept in sync as documents are added and removed.
  • KeyIndex gains insert, remove, and resolve_link_key, and derives Clone/Default; wiki links are rendered/normalized as the shortest path-suffix that uniquely identifies the target via KeyIndex::shorten_wiki. NodeIter::to_markdown_indexed / to_markdown_skip_frontmatter_indexed and Projector::project take an optional KeyIndex.
  • to_graph_inlines, DocumentInline::to_graph_inline, and SectionsBuilder::new take a &KeyIndex and resolve each reference to its canonical Key as the document is built (markdown links relative to the document, wiki links by path-suffix), so the graph no longer stores the raw as-written wiki target.

Don't miss a new iwe release

NewReleases is sending notifications on new releases.