Git Product home page Git Product logo

obsidian-link-with-alias's People

Contributors

pvojtechovsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

obsidian-link-with-alias's Issues

[BUG] Invalid link is created when autocompletion option without alias is chosen

Describe the bug
Invalid link is created when autocompletion option without alias is chosen

To Reproduce
Steps to reproduce the behavior:

  1. write some text. e.g. "display text"
  2. select it and run command create link with alias
  3. autocompletion is opened, choose some option with pure link without alias and press enter
  4. the link is replaced by selected pure link without display text - as expected and then this plugin restores origin display text ("display text")
    bug: the link name is lost and there remains just invalid link like [[|display text]]
    expected:

Expected behavior
The link contains selected pure link name together with origin display text like [[link name|display text]]

[FEATURE REQUEST] Support of mobile

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?

[FR] Compliance with YAML Syntax in Use

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

[BUG] Cannot create note of link in subfolder

Describe the bug
Cannot create note of link in subfolder

To Reproduce
Steps to reproduce the behavior:

  1. Configure obsidian: Files & Links / Default location of new notes = Same folder as current file
  2. Create a folder "X"
  3. Create a note "Source note" in folder X
  4. Put there text [[Target note|target]]
  5. Move cursor into link and run command "Create link with alias"
    bug: The file is created in root folder with the name "XTarget note"

Expected behavior
The file is created in folder X with name "Target note"

Additional Information
Desktop on MS Windows

[FEATURE REQUEST] Avoid automatic change of title by Obsidian link selector

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.

[BUG] Linked with alias has some issue

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.

image
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.

[Feature Request] New Behavior → Create a Link AUTOMATIC when Target Note already HAS an aliases frontmatter

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
D42C4961-1A10-4C37-B5BB-6A66B4D4A935

📸 AFTER HITTING THE COMMAND Create Link with Alias
48FB7324-033D-46B6-9BF2-BDB222D062C1

⚙️ 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 ☀️

[FEATURE REQUEST] Use command "Templater: create new note from template" to create new notes

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:

  1. Create ParentNote.md on the root folder of your vault
  2. If not already installed, make sure you install the Templater Plugin
  3. Configure Templater to use a specific template on the root folder. Make sure that template define content, such as multiple frontmatter fields.
  4. In ParentNote.md, select a text and use obsidian-link-with-alias to generate a new note (by using either "Create Link" or "Create link with alias" (at the root folder)
  5. The new note will not follow the template defined in the step 3

Expected behavior
The created note should use the same template defined in the Templater plugin for the current folder

Screenshots

Additional Information

[FEATURE REQUEST] Not working in canvas

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.

[FEATURE REQUEST] Reverse Modification

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?

[FEATURE REQUEST] Referring note without making it alias in the frontmatter

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.