Define some other enclosing characters that {..} for macro #28
-
Hello, Is there a way to define some other characters than {...} to all macro ?
Regards. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Absolutely. You can define macro starting string as a command line parameter, you can define it programmatically when you embed Jamal into an application providing the macro opening and closing string as the contructor argument to the Processor class and last, but not least you can change the macro opening and closing string using the Please read the documentation https://github.com/verhas/jamal/blob/master/README.adoc#sep Note that even when you changed the opening and closing strings if you import a file AND the file starts with the characters |
Beta Was this translation helpful? Give feedback.
-
It is not recommended to use
will be confusing Jamal as it will not find the macro |
Beta Was this translation helpful? Give feedback.
Absolutely. You can define macro starting string as a command line parameter, you can define it programmatically when you embed Jamal into an application providing the macro opening and closing string as the contructor argument to the Processor class and last, but not least you can change the macro opening and closing string using the
sep
macro.Please read the documentation
https://github.com/verhas/jamal/blob/master/README.adoc#sep
Note that even when you changed the opening and closing strings if you import a file AND the file starts with the characters
{@
then{
and}
will be used as macro opening and closing strings inside the included file.