Ok, After some more careful reading and trial and error I think I found the
solution. Following lines should go to a stylesheet tiddler (i.e. tagged
with $:/tags/stylesheet ) and the type of the stylesheet tiddler must be
set to text/vnd.tiddlywiki .
\define datauri(title)
<$macrocall $name="makedatauri" type={{$title$!!type}} text={{$title$}}/>
\end
li.Done {
list-style-image:url(<<datauri "black_check.png">>);
}
On Thursday, July 10, 2014 3:39:25 PM UTC-7, CB wrote:
>
> Thanks pointing out the links. But, unfortunately I am not able to get it
> to work. I think I am not clear about the syntax and where to
> put <<makedatauri >> part. I tried replacing url() with following and none
> of them worked:
>
> list-style-image:url(<$macrocall $name="makedatauri"
> text={{black_check.png}} type="image/png"/>);
> list-style-image:url(<<datauri "black_check.png">>);
>
> I am sure I am doing it wrong but it not clear from the links what is the
> correct method. Also, I am using png images. Is that an issue? It will be
> great if there is an example somewhere.
>
> On Thursday, July 10, 2014 2:04:56 AM UTC-7, Stephan Hradek wrote:
>>
>>
>>
>> Am Donnerstag, 10. Juli 2014 10:50:59 UTC+2 schrieb Matabele:
>>>
>>> Hi
>>>
>>> Some related info here:
>>> https://groups.google.com/forum/#!searchin/tiddlywiki/link$20icons/tiddlywiki/2Ph1RGBrbIo/2nSNcUDyzx4J
>>>
>>> Thanks! I KNEW it exists but couldn't find it.
>>
>
--
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.
For more options, visit https://groups.google.com/d/optout.