tth05 / obsidian-completr

Auto-completion plugin for the obsidian editor.
MIT License
312 stars 19 forks source link

Replacement syntax for non-LaTeX text #32

Open Ellpeck opened 2 years ago

Ellpeck commented 2 years ago

Hi! I really love this plugin, and the LaTeX replacement feature is great, especially the ability to tab around between different placeholder sections.

However, I was wondering if it would be possible to expand this system to work in non-LaTeX sections too. Some examples of situations that this would come in really handy are:

Of course, these are just two examples I came up with, but I think this system would be very useful outside of LaTeX environments overall.

I realize that this might be slightly out of scope of the "completion" theme that the plugin currently has. But I also think that it might be a nice fit due to the fact that some LaTeX replacement commands in the plugin already have an "input" syntax that is much simpler than the output that they generate, like all of the region-related commands.

tth05 commented 2 years ago

Hey, thanks for your feedback! Definitely a cool idea to generalize this system.