Hi!

I would like to change the standard search text, or more specifically to 
grab texts starting with # so that I can find them among the tags. Add the 
`$:/tags/SearchResults` tag to this tiddler and watch the results only in 
standard search (where $(searchTiddler)$ is exists).

\define wikifyMe() <$list 
filter="[enlist{$(searchTiddler)$}removeprefix[#]]"/>

\define searchResultList()
Search tiddler: $(searchTiddler)$

Searched text: {{$(searchTiddler)$}}

Tags without wikification: <<wikifyMe>>

<$wikify $name="wikified" text=<<wikifyMe>> >

Tags with wikification: <<wikified>>

Search for tags with wikification: 
<$list filter="""[search:tags<wikified>]"""/>

</$wikify>

Standard search: 
<$list filter="""[search{$(searchTiddler)$}]"""/>

\end
<<searchResultList>>

The wikifyMe works only without wikification, when it's wikified, the 
output is empty, thus the searching not works as expected. As I look at, 
transclusion does not work for the term, but I can not determine exactly 
what's wrong.

I attached the tiddler.

PS.: $(searchTiddler)$ only exists if the whole stuff is encapsulated in to 
a macro (searchResultList), but without it it's not defined - is this 
intended?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/63408f29-5814-41c1-90b0-bddddbc73a27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: tiddlers.json
Description: application/json

Reply via email to