On Thursday, September 24, 2015 at 3:11:31 AM UTC+12, Evolena wrote:
>
> Maybe you will have to define a new CSS... er... I don't know the correct
> term... "line" in a stylesheet tiddler, in order to override the appearance
> of a link in a dt element. I don't remember how to do that without
> searching, and I haven't enough time for that just now, sorry.
>
Yes, like the example above that @Eric gave me above, and that @Tobi showed
me how to put it into a stylesheet. Problem is, I only want to do this
once, on the current tiddler. So putting into my stylesheet would affect
every tiddler that uses the <dt> element. I tried using \define to define a
macro, as Eric demonstrated, but I still have no idea what I'm doing with
macros in TW yet. Here's my attempt, which didn't work at all....
\define boldlink(target)
<$tiddler tiddler="$target$">
<$link to={{!!title}}>''$target$''</$link>
</$tiddler>
\end
Then I called *boldlink* as below, without a parameter, hoping it would
pick up the parameter from the outer <$list> code block, the same as my
previous <$link> call did...
<dl>
<$list filter="[tag[Definitions]]">
<dt><<boldlink>></dt>
<dd><$transclude field="defn"/></dd>
</$list>
</dl>
...but it didn't work at all.
Because orphans and missing tiddlers, as well as backlinks/references, only
> takes into account the links to explicitely named tiddlers (either with the
> link widget or the [[...]] shorthand), but doesn't resolve all the
> textReference (if the title of the tiddler you want to link to is stored in
> a field) or variable used in, for example, templates.
>
Ahh, thanks, I knew there had to be a good reason for this.
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/a9a38e73-e16d-4a44-974d-063f792826a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.