Steve, In the above code you do not close the "name" macro with an end, also in that ext the """ is imbalanced (7), place your text in an empty tiddler and get that working before you place it in the macro. What do you intend using """?
Also macros need to reliably return their content - for example if it contained a select and/or list widget. As a result they are not wikified until the last moment - for example if <<currentTiddler>> where contained in a macro it would only be evaluated at the time of the macro call, then the result wikified. I was looking for a good example how to wikify the content of your above macro, or more to the point, let it be wikified, rather than being returned as mostly static text. However I now see it is broken wiki text to start with. Try this \define say-hi-using-variables() //Test text// ''Test text'' * Test text ! Test text Hi, I'm $(name)$ and I live in $(address)$. //Test text// ''Test text'' * Test text ! Test text \end <$set name="address" value="Rabbit Hole Hill"> <<say-hi-using-variables>> </$set> Note: The blank line above <<say-hi-using-variables>> is important, I am not sure why for the moment. Regards Tony On Monday, 20 August 2018 09:46:01 UTC+10, SteveH wrote: > > Hi there, > > I'm having trouble understanding why certain text formats work 'within' > Macro Definitions and others don't. > > For example Italics and bold work for the Test Text; but not lists or > headings. > > Thanks > > \define say-hi-using-variables() > > > """ > //Test text// > """ > ''Test text'' > """ > > * Test text > """ > ! Test text > > Hi, I'm $(name)$ and I live in $(address)$. > > > > """ > //Test text// > > """ > ''Test text'' > """ > > * Test text > ! Test text > \end > > \define name() Bugs > <$set name="address" value="Rabbit Hole Hill"> > <<say-hi-using-variables>> > </$set> > > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/137235c5-e709-4718-8d09-3fda625efb66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

