pvojtechovsky / obsidian-link-with-alias Goto Github PK
View Code? Open in Web Editor NEWObsidian plugin for handy creation of links and alias in front matter of target document
License: MIT License
Obsidian plugin for handy creation of links and alias in front matter of target document
License: MIT License
Describe the bug
Invalid link is created when autocompletion option without alias is chosen
To Reproduce
Steps to reproduce the behavior:
create link with alias
[[|display text]]
Expected behavior
The link contains selected pure link name together with origin display text like [[link name|display text]]
There is currently no plugin available to achieve this feature, and the current links will be displayed as file names by default.
We hope that obsidian-link-with-alias can achieve this functionality.
i was really excited when this plugin launched
I tried it on my mobile phone, but it doesn't support it yet.
I just want to ask if in the future you will support the plugin for obsidian mobile app?
Thanks for the great plugin!
I tried it and it does what it's supposed to be doing. I even like the fact the existing aliases are updated. The only thing I am missing is keeping the syntax I am using in my YAML frontmatter.
A probably well-liked Feature Request would be to have the plugin recognize the tag, alias, etc. convention in use and add the new alias in keeping with the syntax (and not touch the tags, etc.).
Existing aliases in YAML:
alias: [Hephtalite, heftalita]
After using the plugin:
alias:
- Hephtalite
- heftalita
- Ephtalita
I am omitting example lines to show how the plugin freely modifies other existing parts of YAML. Not that I am making full use of my YAML, but I wouldn't like to use differing syntax in my notes.
Current workaround: make regex replacements to convert YAML back to original syntax.
I know it's early days but one of the most important next step would be this.
Köszönöm, barátom
This is the link: https://github.com/pulsovi/obsidian-note-aliases
It is already accepted btw.
Describe the bug
Cannot create note of link in subfolder
To Reproduce
Steps to reproduce the behavior:
[[Target note|target]]
Expected behavior
The file is created in folder X with name "Target note"
Additional Information
Desktop on MS Windows
Is your feature request related to a problem? Please describe.
I am adding links into a existing text. I do not want to modify the text, I just want to add links and keep existing text as alias. But the Obsidian link autocompletion offers choices, whose selection causes change of link text/alias. If I select such choice, then my text is changed and for me it means it becomes broken.
Describe the solution you'd like
Remember the link text string before the Obsidian link autocompletion is opened and if the text is changed by its selection, then rollback this change ASAP.
Please add the ability to disable auto capitalization when creating a new note from selected text.
Hi when I select any text and press my hotkey for the command link with alias (when the same text is note copied before |
this symbol) then it put a character [[̥
you can see it here. Then I have backspace one time to clear that character and then start typing my note name. If I don't do backspace then it also include that character as first character of my note search and hence I can't find any note because I don't have any note with that character.
You can see it in screenshot. My selected text was "shraddha" and I write the text before this |
symbol was "Shraddha" but without backspacing that character and hence it put that circle like character below the first character of my inserted text. And it is not a seperate character but it is attached to first letter of my word. Please fix this issue.
Hello @pvojtechovsky !!!!
I just saw your plugin submission and I have to say thank you for creating a plugin to deal with aliases. I have been struggling with this subject for a long time and I am very excited about your plugin :)
In this FR I would like to share with you an idea about an additional workflow that I have that is not supported yet in this this plugin.
In a nutshell → When the selected text in Source Note is an alias of a note in the vault (Target Note ) after executing the command Create Link with Alias it will automatic create a link with the connection of the Target Note
This is the behavior that I am talking about...
📸 BEFORE HITTING THE COMMAND Create Link with Alias
📸 AFTER HITTING THE COMMAND Create Link with Alias
⚙️ The idea is to:
1️⃣ get the selection and
2️⃣ search for all notes that has the selection in the frontmatter under the item aliases and
3️⃣ return the target note as a backlink with the selection as an alias
Please, let me know if something is not 100% clear about this FR. I try my best to explain my idea but I can elaborate more about this.
Thanks for reading this !!!!
I wish you a fantastic day ☀️
Describe the bug
It seems that obsidian-link-with-alias uses always a frontmatter block with a single aliases
field. That does not play well with the Folder Templates from the Templater plugin, which are note templates triggered when a new empty file is created in a given folder, and that define content to be added automatically to new notes, including fronmatter fields.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The created note should use the same template defined in the Templater plugin for the current folder
Hi your plugin is working fine in notes but not working canvas cards. If possible please update it because I write most of my notes in canvas cards and then later convert it into notes if required.
Is your feature request related to a problem? Please describe.
Is it possible to add the feature of reverse modification?
When an alias is updated in the YAML, can those links in other documents that reference the updated alias be updated automatically?
Hi your plugin is amazing. I want you to add one more feature with a command(so that we can make it hotkey). Here when we select a text and press our hotkey then it should refer to the note life to connect the selected text where we can just start typing our note name and enter to connect that note to the selected text. Right now when we select our text and press the hotkey then it also write that text before this symbol "|". I want that place to be empty so that we can just start typing our note name and connect it as fast as possible. And the main thing that I am asking is that in this command it should not create alias because suppose if I say in any note that "refer to this note" and if I linked my note to "this" so I don't want "this" as alias. But I want to connect my any note as fast as possible to any selected text which I think your plugin can do it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.