codaCoda,
I have updated the content of "&" to return text only
<$text text={{{ [all[current]split[ ]] +[join[]] }}}/>
*Important guidance* is
- the "filter" given to the transclusion needs each value to be treated
as a title hence
- $:/string/ [] / [{!!fieldname}] [[/suffix/]]
Tony - Looks good on a first pass... I'll need to look at it properly
tomorrow (it's late here).
On Wednesday, December 2, 2020 at 6:59:28 PM UTC-6 TonyM wrote:
> And using codaCodas examples prior;
>
> <$wikify name=style-value text="""color: {{!!color}}""">
> style=<>
>
>
> Check this
And using codaCodas examples prior;
<$wikify name=style-value text="""color: {{!!color}}""">
style=<>
Check this in
devtools
Check this in devtools
Again great for attribute values and parameters, but still need another
step to get the result into a filter.
Tony
Tones
On Thursday,
Saq et al,
Thinking a little further on this issue of "inline concatenation of various
tiddlywiki values", I believe I have just found a quite elegant solution.
Given your complaint about Wikification performance this returns the
"evaluated text"
Create a tiddler called "&" for concatenate
@codacoder There are issues on github discussing both approaches, using
backticks to wikify OR using them to do substitution. I strongly prefer the
latter due to the performance penalty associated with wikify.
See
- https://github.com/Jermolene/TiddlyWiki5/issues/5121
-
Just dreaming out loud...
my span
Note - *backticks*. They become a request for wikification. Of course, they
could be any sensible alternative (though I don't support treading
on/overloading quotes, either ' or " .
And if a substitution run could happen *first*...
>:{{!!field}}`>my span
Yep, it is interesting. I do try to avoid wikify until I prove it's the
only way. In essence, even though the goal is simply stated,
transclusion-filters (to me) seem to cloud the simplicity - leaving a lot
of syntax noise behind. Wikify seems to read simpler, because it's "broken
down" I
@codacoder interesting! While both syntaxes leave a lot to be desired, I
personally find wikify so much uglier.
Personally I use a filter that does something like this:
Check this in devtools
Anyway be warned that depending on the complexity of the contents of the
element you assign a
On Wednesday, December 2, 2020 at 12:40:17 AM UTC-6 saq wrote:
> FYI, the solution using join[] (or addsuffix[]) is *substantially*
> faster...
addsuffix - duh! - Jeez... thanks for the face-palm, Saq!
There's only so long I can stare at something (sometimes, anyway).
--
You received this
Yes. But following along with your thinking was kinda slow. I had to reread
a few times to "get" what you were saying. It was probably me - too tired
at the time.
On Tuesday, December 1, 2020 at 11:11:15 PM UTC-6 TonyM wrote:
> CodaCoda,
>
> Yes I understand that, but I will review the cheat
Agreed. But syntax noise is... well, noisy :/
On Wednesday, December 2, 2020 at 12:40:17 AM UTC-6 saq.i...@gmail.com
wrote:
> FYI, the solution using join[] (or addsuffix[]) is *substantially* faster
> than using wikify to assign widget attributes.
>
> You:
>
> <$wikify name=style-value
11 matches
Mail list logo