Re: @auto-md: multiple vnodes with gnx

2023-09-01 Thread p.os...@datec.at
Well I am a long-term user of rST and the respective Leo plugin. But this is about creating and maintaining MkDocs websites. I consider Leo being superior here (just as elsewhere also). On Tuesday, August 29, 2023 at 7:53:21 PM UTC+2 Edward K. Ream wrote: > On Tue, Aug 29, 2023 at 8:03 AM Thoma

Re: @auto-md: multiple vnodes with gnx

2023-09-01 Thread p.os...@datec.at
Looks good! I'll stick with it. Replaced if p.h and p != root: by if p.h and not p.h.startswith( "!") and p != root: though. Thanks a lot! On Monday, August 28, 2023 at 9:58:26 PM UTC+2 tbp1...@gmail.com wrote: > On Monday, August 28, 2023 at 4:56:12 AM UTC-4 p.os...@datec.at

Re: @auto-md: multiple vnodes with gnx

2023-08-29 Thread Edward K. Ream
On Tue, Aug 29, 2023 at 8:03 AM Thomas Passin wrote: > You can also export the Markdown to your external text editor using the > viewrendered3 plugin. The drawback is that you would need to save it to > the desired location yourself. Imo, after a certain point of complexity it will be simpler

Re: @auto-md: multiple vnodes with gnx

2023-08-29 Thread Thomas Passin
You can also export the Markdown to your external text editor using the viewrendered3 plugin. The drawback is that you would need to save it to the desired location yourself. To do this, enable the VR3 plugin and open it in your outline. Select the "Entire Tree" View Option, select the top no

Re: @auto-md: multiple vnodes with gnx

2023-08-28 Thread Thomas Passin
On Monday, August 28, 2023 at 4:56:12 AM UTC-4 p.os...@datec.at wrote: Yes, that's the point. It simply should work as the RST-plugin does. I wrote a small script that does what I think you want, although only for a single @md file at a time. The top-level node must have a headline that star

Re: @auto-md: multiple vnodes with gnx

2023-08-28 Thread Edward K. Ream
On Mon, Aug 28, 2023 at 3:56 AM p.os...@datec.at wrote: Yes, that's the point. It simply should work as the RST-plugin does. > LeoDocs.leo contains a disabled button: make-md-toc. Please take a look. Funny, there is a tip about this script. Edward -- You received this message because you are

Re: @auto-md: multiple vnodes with gnx

2023-08-28 Thread p.os...@datec.at
Yes, that's the point. It simply should work as the RST-plugin does. On Monday, August 28, 2023 at 12:08:03 AM UTC+2 tbp1...@gmail.com wrote: > Oh, you mean that the headline indent level should translate into the > right number of "###" characters? You are right that an @clean file > wouldn't

Re: @auto-md: multiple vnodes with gnx

2023-08-27 Thread Thomas Passin
Oh, you mean that the headline indent level should translate into the right number of "###" characters? You are right that an @clean file wouldn't do that. What would be just right is the rst3 command, except adapted for MD instead of RsT. I've been thinking there ought to be such a command.

Re: @auto-md: multiple vnodes with gnx

2023-08-27 Thread p.os...@datec.at
I do not import MD files, I create and write them in Leo. The bad about @clean files is, that they do not convert my node tree into a valid MD files containing headings with the right level. Or do they? On Sunday, August 27, 2023 at 9:05:16 PM UTC+2 tbp1...@gmail.com wrote: > One possibility is

Re: @auto-md: multiple vnodes with gnx

2023-08-27 Thread Thomas Passin
One possibility is to import an MD file as an @auto-md. This way you will get the sections set up as you expect. Then change it to be an @clean file, then save the outline. After this, the external file will always track what is in your outline (and if you edit the external file with some othe

Re: @auto-md: multiple vnodes with gnx

2023-08-27 Thread p.os...@datec.at
Ah, ok, I see: auto-xx nodes are NOT stored w/i Leo files. Hm, how can I overcome this. What I want is that all my MD is stored w/i my Leo file and when I save it, all MD-nodes should be written as they are now. At startup of Leo, Leo would not need to read MD files, because their content is st

Re: @auto-md: multiple vnodes with gnx

2023-08-27 Thread p.os...@datec.at
The behaviour I experience seems documented: https://leoeditor.com/FAQ.html#why-doesn-t-leo-support-cross-outline-clones - and that makes sense, if MD files are read by Leo. But why are they read? They only need to be written as I want to create MD files using Leo and only Leo. On Friday, Aug

Re: @auto-md: multiple vnodes with gnx

2023-08-25 Thread Edward K. Ream
On Thu, Aug 24, 2023 at 8:09 PM HaveF HaveF wrote: > > Imo, `@clean` is a better option for most people than `@auto`. >> > > I see. But like @auto-md can generate section heading of the appropriate > level, this feature is indeed more convenient. > If I use @clean, I have to generate my own struc

Re: @auto-md: multiple vnodes with gnx

2023-08-24 Thread HaveF HaveF
> Imo, `@clean` is a better option for most people than `@auto`. > I see. But like @auto-md can generate section heading of the appropriate level, this feature is indeed more convenient. If I use @clean, I have to generate my own structure << ... >> by hand -- You received this message because y

Re: @auto-md: multiple vnodes with gnx

2023-08-24 Thread Edward K. Ream
On Wed, Aug 23, 2023 at 11:29 PM HaveF HaveF wrote: > > @bool create-at-persistence-nodes-automatically > > Everything works for me if this setting is True. (The default in > leoSettings.leo is False). > > > How about set the setting to True as default? > Creating `@persistence` nodes by defaul

Re: @auto-md: multiple vnodes with gnx

2023-08-23 Thread HaveF HaveF
@bool create-at-persistence-nodes-automatically Everything works for me if this setting is True. (The default in leoSettings.leo is False). How about set the setting to True as default? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To u

Re: @auto-md: multiple vnodes with gnx

2023-08-23 Thread p.os...@datec.at
[M] @ bool createatpersistencenodesautomatically = True Forgot to mention I am still running ver. 6.7.1 and on Linux. Guess I'll keep an eye on this by running Leo in an IDE. On Wednesday, August 23, 2023 at 5:03:55 PM UTC+2 Edward K. Ream wrote: > On Wednesday, August 23, 2023 at 7:18:26 AM U

Re: @auto-md: multiple vnodes with gnx

2023-08-23 Thread Edward K. Ream
On Wednesday, August 23, 2023 at 7:18:26 AM UTC-5 p.os...wrote: It becomes more and more annoying, that when I want to clone a node below a @auto-md file into another @auto-md I get this error: What is the value of this setting in your file? (show-settings will list all settings.) @bool crea

Re: @auto-md: multiple vnodes with gnx

2023-08-23 Thread Edward K. Ream
On Wed, Aug 23, 2023 at 7:18 AM p.os...@datec.at wrote: > when I want to clone a node below a @auto-md file into another @auto-md I get this error: Thanks for this report. I have just created #3512 for it. I'll investigate immediately. Edwa

@auto-md: multiple vnodes with gnx

2023-08-23 Thread p.os...@datec.at
It becomes more and more annoying, that when I want to clone a node below a @auto-md file into another @auto-md I get this error: multiple vnodes with gnx: 'xxx.20230509132609.1' id(v): 139738387243504 gnx: xxx.20230509132609.1 Variable id(v): 139738508086256 gnx: xxx.20230509132609.1 Variable ch