> > I think that I should pay more attention in learning the paradigm. Read > more docs, try to write a couple of plugins. > For now I need a tool to build my book from Rmds - maybe it'll be a good > challenge to write such a plugin which would connect Leo, bookdown and R. > > I suggest you to start by writing scripts for experimenting. Once you have a good and useful script you can put a headline on it something like '@button my-script @key=Alt-4' . (replace my-script with something meaningful and Alt-4 with the shortcut of your choice). Next time you open that outline your new command, a toolbar button and shortcut are at your service.
Once you have a bunch of usable scripts you might want to pack them in a plugin. Everything you need to do you can achieve by writing scripts only. Plugins are more for sharing useful scripts. Developing a plugin is not so easy because for every change you need to start a new instance of Leo to check if it works or not. OTOH scripts are live, and every change in the script is immediately visible. If you put your scripts in myLeoSettings.leo they will be present in every other outline you open, almost as if they become an integral part of Leo. Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/29f2dddf-e576-406f-ae5a-7157b7644337%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
