What I am trying to do is to get my icons to work the same way the 
tiddlywiki core icons work. 



Adding the tag $:/tags/Image makes it show up in the Tag manager. Think I 
knew that at some time ... %-|


Andrew: Don't see why this shouldn't work with any svg, but I got some 
icons from https://icomoon.io/app/#/select. Open the svg file in a text 
editor and remover the extraneous stuff. eg 

<?xml version="1.0" encoding="utf-8"?>
<!-- Generated by IcoMoon.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>

Then go through the rest of the code looking for 
 fill="#444444"

Delete that. There could be a few of them depending on the image.

The tiddlywiki core svg's have  
class="tc-image-home-button tc-image-button" 

in the svg tag - eg
<svg class="tc-image-home-button tc-image-button" viewBox="0 0 128 128" 
width="22pt" height="22pt">

Some of mine do have it - but some don't, and they all seem to be working 
on my browser. 

Open a new tiddler, past the whole lot into it and give it a name. That 
should be it.

Add the tag as above, either don't set the type, or set it to 
text/vnd.tiddlywiki.

Save. 

-- 
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.

Reply via email to