Hi everyone
I managed to create a macro where I would add <<mapline "Ice cream is
delicious">> and in view mode it would show the equivalent of
<span class='map1'><$view tiddler="$tiddler$" field="title"/></span>
<<showModal "$tiddler$">> <<icon {{$:/core/images/link}}
"$tiddler$">>
It was a super fast workflow and kept my tiddler pretty clean. I was so
happy to have figured that out on my own. But I quickly realized that the
links do not create backlinks, and te relink plugin doesn't rename them.
And searching won't show the tiddler where the macro is.
Now I am wondering: Is there a better way? I am thinking an editortoolbar
button that
1) grabs the text of another tiddler where I paste that line of text (let's
say the tiddler is titled "Clipboard" and I have written in the text field,
Ice cream is delicious
2) stamps the following:
@@.map1 Ice cream is delicious. @@<<showModal 'Ice cream is delicious'>>
<$link to=' Ice cream is delicious'>{{$:/core/images/link}}</$link>
That way, I can write a line in Clipboard, then stamp the line as indicated
above in the tiddler I am working on, and have it show up as simple text,
modal and link. And backlinks will show in a view template tiddler. I
recognize that renaming would only update the link, not the modal or simple
text. But for what I am doing, I don't foresee needing to rename links.
Any ideas?
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c6fe5743-f4c6-4878-a866-adfa85f850c2n%40googlegroups.com.