Skip to content

v1.2.0

Choose a tag to compare

@max-fluff max-fluff released this 19 Jul 17:45
· 33 commits to main since this release

Added

  • Aliases can now be collected from links you have already written. Right-click a heading link and choose Collect this alias to save its wording as an alias of the heading it points at; right-click a note and choose Collect heading aliases from links to do the same for every heading link in it; the command palette has Collect aliases from links: this note. The alias is written into the %% alias: … %% comment inside the heading's own section, extending an existing comment rather than stacking a new one. A new "Collect aliases" items toggle in the context-menu settings turns all of this off.
  • Hovering a word that matches more than one heading now lists the candidates instead of showing a bare tooltip, and each row previews its own note on hover and opens it on click. Every row carries a second line naming the file the heading lives in — usually the only thing telling two identical headings apart — and says so when the row was reached through an alias rather than the heading's own text.
  • Heading Linker now cooperates with the sibling linker plugins when more than one is installed. A word both of them match is drawn once, by whichever sits higher in the new Priority among linker plugins setting (Settings → Maintenance), and the other stands aside; the right-click menu gets one entry per action instead of one per plugin, the autocomplete popup merges both plugins' suggestions into one list, and the "which one?" dialog offers the other plugin's readings of the word alongside this one's. The setting appears only when another linker is present.
  • Insert plain text, a new autocomplete setting: picking a suggestion completes the word without turning it into a link.

Changed

  • Everything you can do to a highlighted word now lives in Obsidian's own right-click menu in the editor, instead of a separate menu attached to the highlight. The three ways to link — Link "word" here, in this note, in all notes — sit under one Link "word" entry with the choice inside it, and opening is a single Open "word" item rather than separate open/open-in-new-tab lines.
  • Reading view no longer shows a plugin context menu on a highlighted word: a click opens it (asking which heading when there are several), and everything that edits the note is in the editor. The long-press that stood in for right-click on mobile is gone with it.
  • Menu items that act on the thing under the cursor dropped the Heading: prefix — Unlink this link, and the add/remove items for excluded headings. The prefix stays on the configuration items in the file-explorer menu, where it says which plugin's sources or scope you are changing.
  • The autocomplete's second line is shorter and reads as a fragment: word form · File and as "wording" · File in place of the previous sentences.
  • Settings wording was tightened. The scope and source lists are now labelled Paths to include and Always excluded and state that an entry can be a file or a folder; Skip after characters mentions that leaving it empty disables the check.

Fixed

  • In Reading view a theme that underlines links drew a second line under every highlighted word, so the underline-style setting appeared to have no effect. The plugin's own underline is now the only one.
  • Excluding a heading from the right-click menu left no way to undo it there: exclusion removes the word from the index, so the menu then found nothing under the cursor and offered nothing. The remove-from-excluded item is now shown on an already-excluded word.
  • When another linker also matched the word under the cursor, the link picker offered that plugin's target even though only the plugin that owns a word can write its link. Linking now offers this plugin's headings only; opening still offers both.

Internal

  • The morphology engine and its language modules, the locales, styles, dialogs, autocomplete and the prose matching core moved into the shared obsidian-linker-shared submodule, so the four linkers stay in step; the top-level languages/ folder is gone with them.
  • Tests were rebuilt on the shared harness, and CI now gates on the cross-version compatibility check.