On Friday, October 28, 2016 at 7:27:37 AM UTC-4, Shay Shaked wrote: > > This is amazing stuff! > > I worked on the macro to reflect the style I want: > \define image(source) > @@.TW-image > <a href="TW_Media/$source$" title="tooltip" target="_blank"> > <img src="TW_Media/$source$" width="" height="250"/></a> > @@ > \end > > > > where .TW-image is as follows: > > .TW-image{ > float: right; > margin-left: 10px; > width: 250px; > > } > > > And it all works fine in the macro. > > Here's the last thing I want: the ability to add a caption below. > In the past, I wrote the whole thing down like so: > > @@float: right; > <a href="TW_Media/image.png" target="_blank"> > <img src="TW_Media/image.png" width=400 ></a><br>^^this is the caption^^ > @@ > > And I had the ability to add the caption as you can see. But now if I > throw it into the macro, it will give me the same caption each time. What > I'm looking for is something kinda like this: > > \define image(source)(caption) > > I know the syntex is wrong. How do I tell the macro I need to put in two > "variables" (not sure that's the right term)? > >
-- 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/40ddd87c-5640-4d69-b6fc-fdc51d77036a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.