You're doing some amazing stuff there, BTW.
I may not understand, but perhaps for #1 you should create a template
editor for the user. This editor would, for instance,
contain the instructions re the fields and format, so the user didn't have
to look them up. Then, when the user clicked
a "save" or "finalize" button, the template tiddler would be created
including any necessary fields.
For #2, since you are doing your own parsing, perhaps you could substitute
{{!! for << and }} for >> before processing the text.
You might be able to do this with a split/join sequence, e.g.
split<startchevron>join<leftbrackets> where startchevron and leftbrackets
are previously defined values << and {{!! respectively.
This would allow the user to use "<<name>>" and not have to know that they
are actually referencing a field.
Although, to me {{!!field}} is just fine ;-)
Good luck!
On Monday, November 4, 2019 at 4:24:12 AM UTC-8, Stephan Hradek wrote:
>
> @all who answered - Thanks for your time.
>
> What I did now is to provide a working example at
> https://github.com/Skeeve/mailtemplates-made-easy/tree/master/wiki
>
> If you're interested you can download from there.
>
> The only questions I have are:
>
>
> 1. How can I make sure, the default values are set. In this case not
> touching the checkbox will set no value for the placeholder *known_cb*
> and will thus give wrong results.
> 2. Is there a way I could use Tiddlywiki's variable-notation
> <<variable>> instead of the transclude-a-field notation {{!!fieldname}}
>
> The Question at 1. is the more important one. The Question at 2. is just
> that I personally find it more understandable for non-TiddlyWiki-users (and
> that's what the system should be for) to use <<something>> than
> {{!!something}}. It's just that the 2 exclamation marks do not make sense
> to people not knowning about TiddlyWiki.
>
> BTW: I couldn't save to tiddlyspot. It simply fails without any hint about
> what's wrong. Just pops up "Started saving".
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/80ddbf02-5945-41de-b5f0-f0bfe711e6d5%40googlegroups.com.