Excluding Nodes from Leo File

18 views
Skip to first unread message

k-hen

unread,
Aug 18, 2020, 7:13:19 PM8/18/20
to leo-editor
Given an @clean node, is it possible to mark certain node to be excluded?

The reason is that I want to store notes *about* a very large document but I don't want them to be written *in* the document. I thought I might be able to use @ignore or use sections explicitly but excluding the @others directive or something but it doesn't seem to be happy with those options.

e.g.
@clean my_file.md
.... content (to be written)
...... notes (to be excluded/outline only)

I suppose this could cause issues with syncing ... but really I want to just write and don't really need to import this file tree. In fact in a perfect world I'd have one set of nodes to import/sync very granularly, i.e. a large set of files, and then a second set of nodes to write the output.

I really appreciate all the support, thank you all so much :-)





Thomas Passin

unread,
Aug 18, 2020, 8:36:20 PM8/18/20
to leo-editor
No.  But you can create a separate tree, not an @anything external file, with clones of all the nodes you want to document, and add documentation nodes there. 

Edward K. Ream

unread,
Aug 19, 2020, 10:39:38 AM8/19/20
to leo-editor
On Tue, Aug 18, 2020 at 6:13 PM k-hen <percepti...@gmail.com> wrote:
Given an @clean node, is it possible to mark certain node to be excluded?

This is a FAQ. The answer is no, and there is little chance this will ever change.

The reason involves the @clean update algorithm. It's surprisingly simple, which is a good thing, but it doesn't allow for any changes.

Edward
Reply all
Reply to author
Forward
0 new messages