Best Practice: Tiddlywiki and Structure of Long Note

You wrote (most of) the regex :confused:

:flushed:
You have no idea how many times I’ve looked at my code and said, β€œWho wrote this?”

So do you use CSS to hide away your own tagged areas as you work?

1 Like

With help from Eric and Saq, and the kin plugin, I did get branch level search working. The main advantage is that it uses the toc-expandable macro without modifications. It does require a button, and I know the very thought of all this manual labor strikes fear in the hearts of many TW users. But there you go …

3 Likes

Write more briefly? :innocent:

That is neat and I can see it being very useful in some situations. I imagine you could add keyboard shortcuts as alternatives to the buttons, Enter and Escape perhaps?

Very nice Mark! I assume you find the location of tiddler in tree and then you open the branches up to first level! Very interesting!

This can have many use cases! Maybe its time to publish a plugin :wink:

Well, I have now :grin:

2 Likes

plugins_MAS_TOC-Search.json (5.9 KB)

1 Like