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
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
On Mon, Aug 28, 2023 at 3:30 AM Edward K. Ream wrote:
> *os.path.relpath *works in all common situations.
> I'm not sure recursive imports should allow such "distant" @path
directives.
Recent revs avoid os.path.relpath entirely.
Instead, the path to each imported file must start with the pat
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
On Sunday, August 27, 2023 at 5:44:23 AM UTC-5 Edward K. Ream wrote:
> Oops: The generated @path directives will be *wrong* unless dir_ is
either the outline directory or a subdirectory. Let's call this the *directory
constraint*.
*os.path.relpath *works in all common situations. The output fr