Re: view-rendered plugin and mermaid.js

2020-08-14 Thread perceptiblelogic
Ok, so this helped, thank you - but I still wasn't able to undock it from an existing window, but in other docs I was able to move it around.I was able to reset the local cache (db folder) and IT'S WORKING!! :-D Thanks so much for your help guys. - Kevin On Thu, 2020-08-13 at 18:13 -0700,

Re: view-rendered plugin and mermaid.js

2020-08-14 Thread Edward K. Ream
On Thu, Aug 13, 2020 at 1:31 PM Thomas Passin wrote: > Now that I've looked at mermaid a little more, I think that you could > write the mermaid diagram syntax in a Leo node - since it's just text - > ,and then run Mermaid on it using the command line version of mermaid. > That sounds like the

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread lewis
There is a setting in LeoSettings : *@bool use-vr-dock = False* * True: The VR dock is (can be) moved.* * False: (Recommended) The VR dock splits the body dock.* * *Warning*: You may have to clear caches if you change this setting.* Add that setting to your myLeoSettings file, set to True.

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
On Thursday, August 13, 2020 at 7:01:56 PM UTC-4, k-hen wrote: > > This worked! I was able to get it for a new test file BUT the > original file has VR3 docked *inside* the body and I can't seem to detach > it. > It seems these settings are on a per-file basis, but there's nothing I can

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread perceptiblelogic
This worked! I was able to get it for a new test file BUT the original file has VR3 docked *inside* the body and I can't seem to detach it.It seems these settings are on a per-file basis, but there's nothing I can see saved within the document on positioning. Is there a way I can reset the

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
You need to have Docutils installed to have VR3 render Restructured text, and you need Markdown installed to render (no surprise here) markdown. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
On Thursday, August 13, 2020 at 6:22:54 PM UTC-4, k-hen wrote: > > Ok, thanks! I've got this going, the docks feature is interesting. > Strangely I can move the body and the tabs, but not the VR3 panel... > I've tried restarting & redragging it a few times but still no luck :-/ > Add a node

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread perceptiblelogic
Ok, thanks! I've got this going, the docks feature is interesting.Strangely I can move the body and the tabs, but not the VR3 panel...I've tried restarting & redragging it a few times but still no luck :-/ On Thu, 2020-08-13 at 11:24 -0700, Thomas Passin wrote: > On Thursday, August 13, 2020 at

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
That would be incredible. I'm definitely willing to take it further (but I still have to lots to learn!). mermaid is based on graphviz's dot syntax which is a bit more powerful (although not 100% compatible). Graphviz/Dot also has some python libraries for dot available which is nice too. If

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
Now that I've looked at mermaid a little more, I think that you could write the mermaid diagram syntax in a Leo node - since it's just text - ,and then run Mermaid on it using the command line version of mermaid. If I'm right about this, I would be willing to try adding an @mermaid node type

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
On Thursday, August 13, 2020 at 10:00:49 AM UTC-4, k-hen wrote: > > I understand, I thought view-rendered may have been a qt html panel but I > suppose it's rich text or something like that. > The integration project seems very interesting ... I'll keep an eye on it > - thanks! > (and Leo of

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
On Thursday, August 13, 2020 at 1:39:17 PM UTC-4, k-hen wrote: > > I don't mind refreshing at all. Pardon the naive question, but how would I > go about trying VR3? > You edit the MyLeoSettings.leo file, which you can open from Leo's Settings menu. Find a node titled @enabled plugins.

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
I don't mind refreshing at all. Pardon the naive question, but how would I go about trying VR3? On Thursday, August 13, 2020 at 1:32:49 PM UTC-4 tbp1...@gmail.com wrote: > The VR3 plugin can display the diagram outputs. It wouldn't update > automatically when you made a change - you would

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Thomas Passin
The VR3 plugin can display the diagram outputs. It wouldn't update automatically when you made a change - you would have to refresh the plugin view to see that changed image. It *may* be possible to get mermaid to run in a panel inside Leo. It could be launched using graal, and Leo can be

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
I understand, I thought view-rendered may have been a qt html panel but I suppose it's rich text or something like that. The integration project seems very interesting ... I'll keep an eye on it - thanks! (and Leo of course is incredible!) On Thursday, August 13, 2020 at 9:44:38 AM UTC-4,

Re: view-rendered plugin and mermaid.js

2020-08-13 Thread Edward K. Ream
On Thu, Aug 13, 2020 at 8:21 AM k-hen wrote: I was wondering if it's possible to get mermaid.js [ > https://mermaid-js.github.io/] working via the view-rendered plugin. > Thanks for the link to mermaid! Leo doesn't do js directly, so I don't think the vr plugin is likely ever going to support

view-rendered plugin and mermaid.js

2020-08-13 Thread k-hen
Hi All, I was wondering if it's possible to get mermaid.js [https://mermaid-js.github.io/] working via the view-rendered plugin. It's also possible that I'm just missing something. I'm aware that it works through LeoVue (which is awesome) but I'd really like to see it in the native editor.