On Fri, Oct 25, 2013 at 8:01 PM, Brian Theado <[email protected]>wrote:
> I played around > > with creating some html/css which could display example leo tree > structure just as it would appear in leo itself. > > Check out the result here: http://jsfiddle.net/YFsNL/ (the result is > rendered in the bottom right "pane"). > Great stuff! > > Not as nice as your screenshot at http://i.imgur.com/pVYjl3Q.png > because mine only includes the tree structure and not the body. > There are many places in the docs where having an easy-to-create picture of the outline pane would help a lot. > > Also not as nice as an ascii drawing as it involves writing some html. > However, since it is pure html+css, maybe something like it can be > incorporated into the leo documents. Maybe even a feature which > automatically transforms a leo subtree into the corresponding html. > Then it would be easy to sprinkle example tree structures throughout > the Leo documentation. > This would make an relatively easy-to-do @button node. For those that didn't click the jsfiddle link above, here is the html and > css: > [snip] > Very nice. And one could add other css tags for all variations of marked, cloned, dirty nodes. 16 in all. Just now I'm not sure the best way to incorporate the css into various docs. The leo/doc folder contains three .css files. Presumably this could be added to leo_rst.css. You've opened a new avenue for Leo's docs. Thanks! 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
