You can install it directly from Options > Plugins > Search for "Note Variables". Version 2.0.0 works a bit different from v1.0.0, you may have to change your variables into a Markdown table format if you used the previous version
Bugs, feature requests or contributions
Please report any bugs you find, or any feature request you have on the GitHub Issues page
@@ is used by the Quick Links plugin, and @ is ceretainly not the first charachter that comes to mind when thinking of a var. I think this should be configurable or set to something that has no other meaning.
Right now the variables are saved in a plugin setting that's hidden, but i'm planning to enable an option to export/import to a json file.
Still you can change the value of a variable adding it again. e.g. if I added "MyVar" with value "Content of my var", you can simply add it again: "MyVar" with "New content of my var".
If I understood you well, the plugin is made so that the variables are synchronized with the notes.
When you type a variable on a note, It will show the curren value of the variable. If you change the value of the variable, it will be reflected on the note.
Do you think that using also a sufix like %this% will be useful?
I'm thinking that will help delimiting the variable, and enable to use it in any part of the text without the need of using spaces to separate it from the previous or preceding text.
I would prefer to not have to type another %--or any character that requires the use of a shift key. So if I had to use a character before and after, I'd probably choose "q", as in qthisq.
For the syntax you could also use the Generic directive syntax. So for example :var[MyCoolVariable]. It's a bit more verbose but it's less likely to confict with other plugins.
Note that these generic directives are just a proposal at this point (although it would be nice if they could add something like this as it would make it easier to support plugin-specific markdown).
I'll make an option to choose the prefix/sufix, so the user can choose anything convenient.
The problem with that is that if you use "d" your variables must not contain the letter "d". That's why it's more convenient for the prefix/suffix to be a special character.