On Tue, Feb 18, 2020 at 11:58 PM Matt Wilkie <[email protected]> wrote:
> > What is the idiomatic way to use and/or share scripts across Leo files? > > [...] Here's the first Leo script I've written that modifies content in >> Leo. >> > [...] I've pushed it the Leo-editor-contrib >> <https://github.com/leo-editor/leo-editor-contrib> repo under >> Projects/scripts >> <https://github.com/leo-editor/leo-editor-contrib/tree/master/Projects/scripts> >> from *Scripts.leo* in parent folder. >> > This is a reasonable way. You can also put the script in leo/scripts/scripts.leo and commit the change. To make a script available, privately, for all your own work, put the script in an @button or @command node in myLeoSettings.leo Like this: myLeoSettings.leo - @settings - @commands - @command my-command - @buttons - @button my-button Edward -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS0-MavBp7uDV6Wih%2Bvz7WTRZb0o9-GjskByizc8VrKqwA%40mail.gmail.com.
