Skip to content

Noten v0.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Jul 02:25

Download

Noten-Setup.exe — Windows installer

What's in v0.3.1

A focused feature release that adds in-document anchor links for jumping directly to headings in the same note. The link editor now suggests headings as soon as you type #, mirrors the document hierarchy, and lets additional # characters narrow the list by heading depth. This release also adds a Link command to the text context menu and hardens anchor handling for duplicate headings, encoded destinations, and headings that cannot produce a usable slug.

In-document anchor links

  • Create links to headings in the current note from the existing link editor — type # to open heading suggestions
  • Suggestions preserve the document's heading hierarchy through indentation and show the generated destination slug alongside each title
  • Type ## to show H2 and deeper headings, ### for H3 and deeper, and continue typing a title to combine depth filtering with search
  • Selecting a suggestion stores a portable GitHub-style fragment such as #installation-windows, including Hangul and other Unicode heading text
  • Clicking an anchor link jumps through the same navigation path as the table of contents; a missing target shows a notice instead of silently doing nothing

Link creation & reliability

  • Added Link to the editor text context menu, routed through the same popover as Ctrl+K so link behavior stays consistent
  • Duplicate headings now receive globally unique suffixes, including cases where a literal heading title would otherwise collide with a generated suffix
  • Percent-encoded fragments are decoded safely when edited and reapplied, while malformed encodings are preserved instead of being corrupted
  • Empty and punctuation-only headings are excluded from autocomplete when they cannot produce a linkable destination
  • Existing fragment links remain tolerant of stored slugs, raw heading titles, percent encoding, and case differences

Under the hood

  • Heading extraction for fragment resolution runs only when a link is clicked, and autocomplete anchors are built once per link-popover session rather than on editor transactions
  • Added regression coverage for Unicode slugging, duplicate suffix collisions, encoded and malformed fragments, empty headings, depth filtering, and anchor click navigation
  • The test suite now runs 783 tests