joplin-plugin-slash-commands
joplin-plugin-slash-commands copied to clipboard
Enhancement - position cursor in particular spot
I'm using this plugin to make maths easier to type, inspired by a similar plugin on the Obsidian.md side.
It would be amazing if it would be possible to specify a position for the cursor after text replacement occurs. For instance, I added a command /dm which inserts the text $$\n\n$$
(in essence, switching to maths mode). It would be very useful if the cursor would then be placed on the empty, middle line.
Similarly, a fraction command which inserts \frac{}{}
would be even more useful if the cursor could be placed in the first set of curly braces.