You haven't explained how you want your users to interact with the outline. Should they be able to edit, create, and destroy nodes? Or do you want them to only be able to read it. Do you want subtrees to be able to collapse and expand as they can in Leo?
Do you want to be able to export arbitrary outlines, or would you be satisfied with some specialized kind? For example, you can create a very good documentation-like set of HTML pages by using Sphinx, but you have to write the outline in ReStructuredText (RsT) and run the rst3 command on it first. BTW, rst3 will not create an HTML document in itself. It creates a set of nodes into linked RsT files, which can then be transformed into an HTML version. If you don't mind using just a little RsT or Markdown in your nodes, you can produce very good HTML output using the Viewrendered3 (VR3) plugin. VR3 can export a node or an entire tree to very readable HTML, but it won't have Leo's interactivity. Unfortunately, Leo's export-xxx commands seem to only export a view of the outline, without the node content. So please think some more about what you want to accomplish with an export. If you were thinking of sending a set of HTML files and viewing them in a browser with full Leo capability, that would require re-creating full Leo capability in javascript. Felix has done that with LeoJS except that it's running in Visual Studio Code instead of a browser. On Wednesday, September 3, 2025 at 12:15:10 AM UTC-4 brian wrote: > Is there a way to export an outline in an html format where the format of > the html is similar to the desktop version of Leo with the expands and > collapses. I want to send someone a copy of my outline that they can use > in a browser to view. This is view only. > > I tried the plugin leo to html but it seems that this is for an outline > that was written as html. > > I tried RST3 but the html is all on the left margin and I’m getting weird > error messages. > > I read about rendered view exporting as html but I couldn’t get the html > to be export. > > I saw a JS port of leo for the web but I suspect I’l have to host a > version. I just want to send an html document that everyone can use out of > the box. > > It looks like I’ll have to write a plugin. Would RST3 be the best place > to start? > > Brian > -- 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/a453f001-e9cb-4a0a-a206-e0ba5898ac3cn%40googlegroups.com.
