Hi Daniel,

I think using the *action-sendmessage* widget makes this process easier:

<$button class="tc-btn-invisible" title="Create new Markdown Tiddler">
<$action-sendmessage $message="tm-new-tiddler" type="text/x-markdown"/>
<svg class="tc-image-home-button tc-image-button" viewBox="0 0 208 128">
        <!-- logo is licensed CC0, downloaded from 
https://de.wikipedia.org/wiki/Markdown#/media/File:Markdown-mark.svg | 
changed colour | by @nordholmen -->
    <rect style="fill:none;stroke:#aaa;stroke-width:10" width="198" height=
"118" x="5" y="5" ry="10" />
    <path style="fill:#aaa" d="m 30,98 0,-68 20,0 20,25 20,-25 20,0 0,68 
-20,0 0,-39 -20,25 -20,-25 0,39 z" />
    <path style="fill:#aaa" d="m 155,98 -30,-33 20,0 0,-35 20,0 0,35 20,0 z" 
/>
</svg>
</$button>

Best wishes,

Tobias.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8c84055f-8cfc-4b6e-97e9-a81218aa0e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to