Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Wiki Link into Selection #31

Open
Signynt opened this issue Oct 16, 2021 · 5 comments
Open

Feature Request: Wiki Link into Selection #31

Signynt opened this issue Oct 16, 2021 · 5 comments

Comments

@Signynt
Copy link

Signynt commented Oct 16, 2021

It would be a very useful feature to be able to use this plugin on Wiki Links, so that you could select some text that you would like to be the alias, which would be automatically added to a new link you create.
It might work like this:

  1. User selects text alias
  2. User enters square brackets to create a new link, and types it's name Note
  3. User hits enter to complete the Wiki Link
  4. Plugin automatically appends the previously selected text that was replaced with the link, as an alias [[Note|alias]]
@Archie-2021
Copy link

+1 for this. Also it would be awesome if you add the basic function of this for wikilinks. It would work perfectly with 'obsidian copy block link' plugin

@pw-64
Copy link

pw-64 commented Apr 13, 2022

+1 this was why i came here, to make this same request
it would be such a useful feature, especially if added to the command palette

@denolehov this would be an amazing addition to one of my favourite plugins!

@Friedolito
Copy link

+1 this would save a ton of time!
Looking for a solution for a while now, but havn't found anything good yet.

@ryanwwest
Copy link

I'd like this too, would love to use in conjunction with the clipboard contents from https://github.com/mgmeyers/obsidian-copy-block-link. I wonder if there's anyway that the Regex string could be modified to recognize wiki links, but seems unlikely.

@ryanwwest
Copy link

I forked and implemented this. Haven't found any bugs or behavior different from the original plugin. I'll probably make a PR soon but you can test it here if you want: ryanwwest@01d5db1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants