One of Leo's coolest features is being able to add buttons to the toolbar in a context-aware or context-dependent way. It'd be really cool if this could be extended so that the "button" could be somewhere else. For example what if the text within [ ... ] could initiate an action, a Leo script?
*[Register-leo] - Creates registry keys for Leo file type and .leo file association. Afterwards .leo files will show Leo icon and double-clicking them will open in Leo Editor.* Already ctrl-click on a URL in body text launches a browser, so there's at least some plumbing to enable action-on-text. No idea at this point what the triggers could be*, there's no way we want any ol' text fragment to be actionable, but figured I'd throw the idea out and see what sprouts. * #leonine script://@button node-headline #asciidoc link:script://thing.leo-->path-to-node[button text] #markdown inline [button text](script://thing.leo-->path-to-node) #markdown footnote [button text][0] ... [0]: script://thing.leo-->path-to-node -matt -- 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/4e813bd0-eb1f-40c5-a105-4c87c51cbcd8%40googlegroups.com.
