|
From: | Aaron Hill |
Subject: | Re: Document/Example how to create "standalone" markup commands |
Date: | Thu, 07 Jun 2018 10:58:03 -0700 |
User-agent: | Roundcube Webmail/1.3.6 |
On 2018-06-07 10:31, David Kastrup wrote:
The snippet you mentioned does not work as-is on 2.19.81, so I was curious if there was something new going on with how to define functions.It will in 2.21.0.
Good grief, man! Why didn't you just say that to begin with? I'm sitting over here, questioning my [in]sanity. ;)
As I originally suspected `\etc` was nothing more than a placeholder for other, actual markup, your suggested definition of `\doubleBox` ultimately becomes a fixed, parameter-less construct.Uh, isn't that the definition of a function's parameter?
Well, I assumed that `\etc` was your personal shorthand in snippets for "manually put whatever you want here", like an ellipsis. Of course, I had no reference to know that `\etc` was (or soon will be) actual valid syntax.
But it is great to hear that `\etc` will eventually be a thing, as it should help reduce the need to switch to Scheme for this type of thing. Will this convenient syntax support more than one argument, or is that beyond the scope of the feature?
-- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |