joeyuping / quick_latex_obsidian

MIT License
326 stars 21 forks source link

Some advices about quick_latex plugin. #92

Open spzhuang opened 1 year ago

spzhuang commented 1 year ago

Useful work! If you can support customize the shortcut keys will be more useful for users. What is more, If the latex code can support that when type some character and type [Tab] and then the cursor appear the possible codes, it also will useful for users. Likes, when I type "\math" and it will appear all possible order former a list, like [mathcal, mathbb, mathbf, ... ], and when I press "Tab" will choose the most possible option, just like I use python to code something. I think it will amazing work.

joeyuping commented 1 year ago

@spzhuang Hi!

Thanks for your support!

In fact, the custom shorthand function is already customizable! Simply visit the settings page for the quick latex plugin, at the bottom you will find the instruction to set your own custom shorthand. You can also choose to use either Space (the default) or Tab key to expand the shorthand.

As for the part to appear a list of possible codes given what was written, that would indeed be amazing. It is a little beyond my capability though... If there are any pro coders out there willing to fork and contribute to such a functionality, that will be most welcomed!