Thank you Tobias, that solved the problem for me :-)
However, I found that a wikitext macro could not be sufficient for my
purpose.
So I tried to make a javascript macro. Another question came up and I
opened a new topic for this :-)
--
You received this message because you are subscribed to
Hi NT,
I believe you have actually spotted a bug, so I created a ticket:
*#2076 Bug: global single-line macro definition*
https://github.com/Jermolene/TiddlyWiki5/issues/2076
Yes, this works I found out, but only that. What not works is
> \define mymacro() do stuff
> \end
I believe, the above
Hi NT,
> Or it's a mistake of mine, this time?
>
I'm afraid, this time around it is.
Change...
macrocall name=foo
to...
macrocall $name=foo
Best wishes,
— tb
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this
Eric, thanks very much for your help!
Unfortunately I needed several hours of research to find out that the
"\end" at the end of the macro is necessary, even if it is a oneliner.
Did you test the code yourself?
I used your first example
\define mylink(filename)
Hi NT,
Eric's examples work fine for me.
Remember, macros need to be declared *at the beginning of a tiddler*.
There are two ways to declare macros...
1) one-liner
\define mymacro() do stuff
2) multiline macro
\define mymacro()
do stuff
\end
Only the latter requires you to close it via
On Thursday, November 12, 2015 at 11:22:06 AM UTC-8, NT wrote:
>
> Hello, sorry for asking, maybe this is simple with some hours of research,
> but I am out of time, currently.
> I want to build an external link with a dynamic and a static part.
> ...
>
I want to make many tiddlers (>100) like B
6 matches
Mail list logo