Edit Link Alias

by mnaoumov
5
4
3
2
1
Score: 54/100

Description

The Edit Link Alias plugin adds a command to edit the alias of links within your notes. When you invoke the command, it displays a prompt that lets you modify the display text of a link without changing its target. This is particularly useful when you want to refine how links appear in your notes for better readability or context.

Reviews

No reviews yet.

Stats

8
stars
1,149
downloads
1
forks
234
days
3
days
4
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
8
total issues
0
open issues
8
closed issues
198
commits

Latest Version

4 days ago

Changelog

  • chore(deps): sweep caret-ranged dependencies to latest
  • fix(deps): move to obsidian-integration-testing 11 and obsidian-dev-utils 96.5.2
  • fix(deps): drop the brace-expansion file: override that breaks a clean install
  • test(edit-link-alias): record the deliberate untrusted-input exceptions
  • test(edit-link-alias): click links with trusted input where the platform allows it

Full Changelog: https://github.com/mnaoumov/obsidian-edit-link-alias/compare/1.5.4...1.5.5

README file from

Github

Buy Me a Coffee GitHub release GitHub downloads Coverage: 100%

Changing what a link says in Obsidian means editing the raw link text by hand — finding the | in a wikilink or the right pair of brackets in a markdown link, in the middle of a sentence, without breaking either. In Reading view you cannot do it at all without switching modes.

This plugin edits the link under your cursor through a small pop-up: Edit link alias changes just the display text, and Edit link (URL and alias) changes the target and the text together. Both work on wikilinks, markdown links, external links and links in a note's properties, from the Command Palette, the right-click menu, or Alt + clicking the link itself.

Demo vault

The documentation is a demo vault. Every feature has a note that explains what it does and why you would want it, with links of every kind already in place to edit.

Start reading here — it is plain markdown, so it works on GitHub with nothing installed.

A copy of the vault ships with every release. You can access it via any of the following:

  1. Running the Edit Link Alias: Open demo vault command.
  2. Downloading edit-link-alias-demo-vault-<version>.zip (<version> is the release version) from the Releases.
  3. Browsing its source in demo-vault/ in this repository.

What it does

  • Edit a link's display text without hunting for the | or the brackets. 01 Edit link alias
  • Edit the target and the text together, in one two-field pop-up. 03 Edit link URL and alias
  • Alt + click a link to edit it — in Reading view, Live Preview and source mode, on desktop and mobile. It opens on the alias with the text selected, since that is the more common edit, and Tab moves to the URL. Alt + click is used because Obsidian gives it no meaning on a link, so nothing you already do changes. 04 Alt click a link to edit it
  • External links work the same way. 02 External links
  • Links in properties are editable too, written back through the frontmatter so the value stays valid YAML — with the two consequences that follow from that. 05 Frontmatter links

Installation

The plugin is available in the official Community Plugins repository.

Beta versions

To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button once and wait a few seconds for the plugin to install.

Debugging

By default, debug messages for this plugin are hidden.

To show them, run the following command in the DevTools Console:

window.DEBUG.enable('edit-link-alias');

For more details, refer to the documentation.

Changelog

All notable changes to this project will be documented in the CHANGELOG.

Contributing

Contributions are welcome — see CONTRIBUTING to get set up.

Support

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
AI Revisionist
2 years ago by Synaptic Labs
Alias from heading
4 years ago by Chris Basham
Obsidian plugin: Implicitly add an alias matching the first heading in a document.
Alias Picker
2 years ago by rostunic
Another Name
a year ago by Jiyuan Wang
Add a subheading to your note in Obsidian
Auto Correct Capitals Misspellings
2 years ago by Ummel
This plugin automatically corrects words where the first two letters are capitalized and the rest are lower case.
Better MathJax
3 years ago by GreasyCat
Broken Links
3 years ago by ipshing
Dragger
3 months ago by ariestar
An Obsidian plugin for dragging and rearranging any block.
Duplicate line
a year ago by Marcin Sztolcman
Plugin for Obsidian: duplicate current line, or selection.
Editing Mode Hotkey
2 years ago by Signynt
Obsidian plugin to change the default editing mode (between Live Preview and Source) using a command or hotkey
Expand Selection
5 months ago by Alex Tait
Obsidian plugin to expand your editor selection to lines, sections (recursive), or the entire note
External Links View
10 months ago by theamritanair
An Obsidian plugin which collates all external links in one view.
FastForwardLink
2 years ago by Idan Liberman
FastForwardLink Obsidian.md Plugin
Footlinks
6 years ago by Daha
Obsidian plugin that extracts urls from the main text to footer, offering a better reading/editing experience.
Frontmatter Markdown Links
2 years ago by mnaoumov
Obsidian Plugin that adds support for markdown links in frontmatter
Hemingway Mode
2 years ago by Joaquín Bernal
Link Formatter
2 years ago by Dilantha Nanayakkara
Formats a block of links into a clean markdown list in Obsidian
Link with alias
3 years ago by Pavel Vojtechovsky
Obsidian plugin for handy creation of links and alias in front matter of target document
Markdown Tabs
2 months ago by xhuajin
Create and render a Tabs component in your notes.
Mode manager
a year ago by dk949
Better management of reading/editing modes in obsidian
Multilingual
2 years ago by leolazou
An plugin for Obsidian that translates note names to ease linking across many languages.
Nova
7 months ago by Shawn Duggan
Nova - AI plugin for Obsidian that edits your documents directly through natural conversation. Stop copying from chat, start collaborating with AI.
Paste as file link
a year ago by Matthias Büge
This plugin is used to paste a text from the clipboard as a link to an existing obsidian note
Pixel Perfect Image
2 years ago by Johan Sanneblad
Pixel perfect 100% image resizing, copy to clipboard, show image in Finder/Explorer, and much more.
Proofreader
a year ago by pseudometa (aka Chris Grieser)
AI-based proofreading and stylistic improvements for your writing. Changes are inserted as suggestions directly in the editor, similar to suggested changes in word processing apps.
Quick Nav
a year ago by exoticknight
Enhance your editing experience by unleashing the hidden power of shortcuts.
Redirect
4 years ago by Jacob Levernier
An Obsidian plugin for adding aliases to any file
Regex Line Filter
a year ago by 64MM4-KN1F3
A note filtering plugin for Obsidian
Rich Text Editor Shortcuts
2 years ago by Joshua Wootonn
Create and toggle checkboxes, paste links wrapping your current selection, and toggle underline without leaving the keyboard.
Sectionals
8 days ago by Aaron Bell
Remove whole sections of a note in Obsidian without selecting them first
Select word
2 years ago by Connor Espino
Side-Notes
a month ago by Fried Fishsticks
Tufte-style sidenotes for Obsidian
Smart Link Alias
2 years ago by Victor Perez-Cano
Smart Link Formatter
a year ago by ccmdi
Obsidian plugin that automatically formats links with information from dynamic websites
Spellcheck Toggler
2 years ago by Julian Szachowicz
A plugin for Obsidian which gives you more control over the red-underline spellcheck behaviour.
Table Line Break Mobile
7 months ago by marcelflymark
Obsidian plugin: Insert a new line break inside a table cell using the <br> HTML element
URL Formatter
a year ago by Thomas Snoeck
Automatically formats specific URLs pasted into Obsidian into clean Markdown links.
Variant Editor
a year ago by Kunal Jain
Obsidian plugin to create variants
Write Good
a year ago by Mark Hesketh
Obsidian plugin to help improve writing style