Replies: 2 comments 7 replies
-
|
Hi @greggh, One way to achieve what you described is to use piped links Another way to do it is to create one file per keyword, so you would have Wez.md and Wesley.md and put a link to the actual character details into each one of these. In this case you can also search for backlinks to find all links to Wez.md or Wesley.md. Having configuration option for [[wiiklink]] auto-complete makes sense. I'll add this. |
Beta Was this translation helpful? Give feedback.
-
|
I've recently created a separate discussion that solves one half of your issue; note aliases. (#216) I've commented there describing some existing solutions to aliasing. As for automatic linking, I'd think a better solution would be something like Logseq's unlinked references. If implemented in IWE, it might be accessed as an additional Code Action called something like "Find Unlinked References". Its behavior would be similar to IWE's backlinks/go to references feature, but would also include matches that aren't explicitly linked. This would be less intrusive than automatic linking (which could quickly clutter the references list), and would expose the feature to everyone regardless of configuration. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am using Neovim as an editor for my creative writing. I had marksman for my LSP, but it's missing many features that IWE has. I just found IWE and am planning on migrating my Neovim config over to IWE for most of the markdown functionality.
It is missing one feature that I have really wanted, the ability to have multiple different keywords link to other files. Here is an example: I have a character named Wesley "Wes" Martin. I would like formatting to automatically link any instance of Wesley, Wes, Wesley Martin, Wes Martin, Mr. Martin, and so on. It should link all of those to the character entry I have made for Wes. Throughout the creative story people will get called different names by everyone from family, equals, friends, enemies, and more.
So I guess it's two new features. The ability to have format auto-link with wikilink style [[link]] to the correct markdown file. And to have a markdown file somehow state its title/name variations. I was originally going to do this with autocmd's and a lot of lua in my Neovim config, adding a metadata.yml file into each directory that would be editable to list the name variations. And maybe I'll still have to do that. But it's always worth opening the discussion I think.
Beta Was this translation helpful? Give feedback.
All reactions