*@lewis* The plugin menu is just for looking at the plugin's documentation string. Like others have pointed out, the actual command it adds is in the File->Export Files menu. (ah! I should add this in the docstring in case this happens to other people also!)
*@viktor* No problem, :) I'll add file protocol support. *@rengel* About using LeoJS core classes into this web client: Yeah, I'm considering it - still in the planning phase... stay tuned! :) About the '*not found: D:/WORKSPACE/chronos-leo-2/outline-viewer.html*' message when opening *leo-html-export.leojs, *that is to be expected: ...That is just my working Leo file for this project, for distributing easily the script in an @button form for people to try out before its a real finished plugin included as default in the next Leo version. And so,* that message you're getting is just because it also contains the @clean node that built the source* - for people to explore if they are curious. (if you want the file on disk, just use the 'write file node' CTRL+SHIFT+W command on that @clean node) Many thanks to all who have tried it out and suggested improvements!! I'll continue to add those small fixes and additions until the releases of Leo 6.8.7 in a week or two :) Félix On Wednesday, September 24, 2025 at 4:48:34 AM UTC-4 rengel wrote: > Hello Felix, > > when I try the new *leo-html-export.leojs *as described in my previous > post, I get the following error in the Leo log window: > > not found: D:/WORKSPACE/chronos-leo-2/outline-viewer.html > > ' D:/WORKSPACE/chronos-leo-2/' is just my working directory. It contains > only *leo-html-export.leojs.* > > Reinhard > > On Tuesday, September 23, 2025 at 11:57:13 PM UTC+2 Félix wrote: > >> Thanks to Viktor, Thomas, JKN, Mike, Brian and Edward for your comments >> and suggestions!! >> >> *I've implemented the suggested changes, and added a few more to help >> navigating the outline even more easily:* >> >> - Buttons in the top right now auto hide after 2 seconds, just move you >> mouse near their location to reveal them again >> - Buttons goto next/previous marked node wont appear unless at least one >> marked node. (Those are now default buttons like prev/next history) >> - Buttons prev/next history also wont appear unless at least more than >> one node is in history >> - URLs detected in body pane are now links you can click on >> - The body pane now respects @wrap & @nowrap (by checking the nearest >> ancestor that has this at the start of a line) >> - Added a context menu (right-click) on any node in the outline to >> hoist/dehoist/mark/unmark it. >> >> Please try it out again to see if you cant spot silly mistakes I may have >> made, or if you can come up with more pertinent suggestions. :) >> >> (see attachment, or the *leo-html-export.leojs* file in the repo at >> https://github.com/boltex/practice-outline ) >> >> I will make another pull request with those changes in a few days before >> 6.8.7 release date if everything is all right. >> >> Félix >> >> >> On Monday, September 22, 2025 at 5:06:27 PM UTC-4 [email protected] >> wrote: >> >>> Lovely work. I've now got the plugin installed and it seems to work >>> well. I don't see Viktor's problem about unresponsive tabs because on my >>> Windows computer, the focus switches to the browser at the end of the >>> command. >>> >>> I did find one nit, though. If the first line or two of the body are >>> long enough, the icons at the upper right obscure those lines. I'd suggest >>> putting the icons in a div of their own, with the first line of the body >>> starting below them. >>> >>> And let me applaud the readability and responsiveness of the HTML viewer! >>> >>> On Monday, September 22, 2025 at 6:55:37 AM UTC-4 [email protected] >>> wrote: >>> >>>> Hello Félix, >>>> >>>> Félix schrieb am Montag, 22. September 2025 um 06:36:22 UTC+2: >>>> >>>> Thanks to all who tried it and commented !! :) >>>> >>>> I've corrected the scrollbar issue for firefox and also corrected two >>>> small bugs (collapse all button position and setting reasonable defaults >>>> on >>>> first use) >>>> >>>> I've turned it into a Leo Plugin for regular use with the minibuffer >>>> and the 'Export Files' menu. I've made a new branch and pull request for >>>> this! >>>> >>>> https://github.com/leo-editor/leo-editor/pull/4456 >>>> >>>> For those curious to see the development (and a cleaned-up and leonized >>>> version which I ended up doing finally today) of this small self-contained >>>> HTML app, please see this repository (which contains Brians' demo, Thomas >>>> examples and a few experiments files for the curious!) at >>>> https://github.com/boltex/practice-outline >>>> >>>> Lastly, if you have not tried it out yet, please try that latest >>>> version with the bug fixes: Just pull and switch to the >>>> *felix-export-to-html-outline-viewer >>>> *branch *(*and make sure to enable the plugin if you already have Leo >>>> installed and setup your plugins in your myLeoSettings.leo) >>>> >>>> >>>> I tried both variants & they worked fine on some of my outlines. - *The >>>> result looks really good !* >>>> >>>> One minor thing I have noticed is that Leo's tabs stay unresponsive >>>> after executing the command from menu or minibuffer until you select some >>>> other Non-Leo window & return ... >>>> >>>> One more thing: Have you considered making URLs clickable in the body ? >>>> >>>> With kind regards, >>>> >>>> Viktor >>>> >>>> -- 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 visit https://groups.google.com/d/msgid/leo-editor/e0e63e6e-2336-4afb-a33d-96c0b87db7ebn%40googlegroups.com.
