Short, concise description of the idea
Allow the creation and modification of user-defined macros, which could be used in journal entries. This would be a paid-user benefit.
Full description of the idea
User-defined macros could be used to reduce extraneous or redundant typing by allow (paid) users a symbol (followed by optional arguments) instead of long, boring, repetive text.
I would like to hear opinions about possible syntax.
for creation (on macros.bml or similar): my_macro1 = "here is arg1, " + $data1 + ", and arg2, " + $data2;
for use (in journal entry): Hello, I'm using my macro: macro::my_macro1("arg1","arg2");. Yee.
Or it could be like BML:
my_macro<= here is arg1, %%data1%%, and here is arg2, %%data2%% <=my_macrouse:
<?macro:my_macro arg1|arg2 macro:my_macro?>If it's going to be like BML, there'd have to be something to distinguish it from predifined BML blocks (i.e. something like my "macro:" prefix).
An ordered list of benefits
An ordered list of problems/issues involved
An organized list, or a few short paragraphs detailing suggestions for implementation