Skip to content

v1.1.0

Choose a tag to compare

@max-fluff max-fluff released this 11 Jul 15:47
· 67 commits to main since this release

Added

  • Hover preview — hover a code link to see a syntax-highlighted snippet of the file around the target line; the window size is configurable (Preview lines before / after, -1 = to file edge). Ctrl/Cmd to trigger it in Live Preview.
  • Inline code embeds — a ```code-link block renders a live, highlighted snippet (by symbol, declaration line, or line range, with optional context: padding and title:). Re-renders automatically when the index rebuilds. New Insert code embed command.
  • Stale / broken link marks — Mark stale links underlines links whose stored line has drifted (warning colour) or whose symbol was renamed/removed (error colour), in both reading view and Live Preview.
  • Update code links — new commands to re-resolve and fix drifted line numbers in the current note or the whole vault, plus a right-click Update this code link on a single drifted link.
  • Editor switcher — switch the active editor preset from the status bar or the Switch editor preset command without opening settings; Always ask picks the format per insert.
  • Copy code link on right-click of an existing link, with {root} resolved to an absolute path.
  • New built-in languages: Java, PHP, Rust — built-ins now cover C#, TypeScript, JavaScript, Python, Java, C/C++, PHP, Go and Rust (9 total).
  • New settings: Min characters (before suggestions appear) and Max results.

Changed

  • Syntax highlighting in hover/embeds now uses Obsidian's loadPrism(), so a language is highlighted reliably without first rendering a code block elsewhere.
  • Stale/broken underlines switched to a border-bottom (wavy/offset underlines rendered inconsistently across platforms); still restylable via Style Settings and CSS variables.
  • Settings reorganised (min/max/auto-refresh grouped with indexing).

Internal

  • Automated release workflow: builds and attaches attested main.js, manifest.json, styles.css on release publish; CONTRIBUTING.md and committed package-lock.json added.