Hi Albert,
Am Montag, 16. April 2012 11:58:55 UTC+2 schrieb Albert Riedinger:
>
>
> - Tomboy 2.0 / Tomboy 2.0 – Plugins / LinkifyPlugin – Test
> - AutoWeavePlugin – Test
> - IntelliTaggerPlugin Documentation
> - zzConfig
>
>
A)
Please check the documentation again.
Linkification for all of this is currently possible via LinkifyConfig.
Try to add all of this to your LinkifyConfig:
AutoWeavePlugin|AutoWeavePlugin *|AutoWeavePlugin – *
LinkifyPlugin|LinkifyPlugin *|LinkifyPlugin – *
IntelliTaggerPlugin|IntelliTaggerPlugin Documentation| IntelliTaggerPlugin –
*
Tomboy 2.0|Tomboy 2.0 – *
zzConfig
This might seem a lot of stuff, but then that's the idea behind it.
Linkification patterns currently require to exactly define for which
tiddlers they should apply.
As for zzConfig, I can't quite tell what should be wrong with it...
- Do you have it?
- Have you turned on linkification for all tiddlers?
- Is it in LinkifyConfig?
When tiddelers are excluded from linkification this only means that their
body is not linkified. However, you can sure have such a tiddler as a
linkification target.
B)
While this might reasonably work for all tiddlers:
@@@|@@@s|@@@*|@@@ – Discussion
...I don't really see that all tiddlers need this matching pattern but
perhaps only those tagged xyz, so I would suggest something like the
following:
{{GROUP{
%0*|%0 – *
+tagX tagY
tidA
tidB
}}}
In other words, I would envision it like defining Linkification for groups
of tiddlers by wrapping the corresponding config in
{{GROUP{
...
}}}
The first line after that defines the patterns to be matched.
I would suggest to use %0 as a placeholder and not @@@, since there is a
string function called format which directly works with that, e.g.:
someString.format([replace1,replace2,replace3,...]);
...whereas replace1 would be inserted for any %0, replace2 for %1, etc...
All other lines define the tiddlers like tidA tidB to be matched or
alternatively all tiddlers tagged +tagX or +tagY.
So in pseudo-code...
1) get all tiddlers to match as [tagged(tagX) + tagged(tagY) + tidA + tidB]
2) create formatters for all those while replacing every %0 with the actual
tiddler names
I think that's better than to have such a rule apply to all tiddlers.
In other words, if a line in LinkifyConfig starts with a css wrapper for a
block, then - until the closing wrapper - everything that follows is
supposed to define a linkification group with 1 line for rules and x lines
for tags or tids.
Cheers, Tobias.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/tiddlywiki/-/VKoaMWKFBBMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.