Hi! I'm trying to create a custom user macro and I was hoping that, similarly to the code block macro, I would be able to have the user have a multi-line input for the macro where they can input their text, but it seems that using the $body, I can only use one single line. Is there any way to configure that the $body is supposed to have newlines/linebreaks and can be multi-line?
Hi @pascal schilp,
Please share with us your macro configuration.
The macro body may be in one line due to the option Escaped selected in Macro Body Processing.
Here's what the macro looks like:```
```
> The macro body may be in one line due to the option Escaped selected in Macro Body Processing.
Do you mean that using the Escaped option only allows one line? And so are you saying that the other options (rendered, unrendered, etc) allow multiple lines?
@pascal schilp, try to change Macro Body Processing to Rendered. This option keeps lines and breaks and displays them as they were entered.
I believe we tried the Rendered body processing option, and it still only allowed a single line I believe, but i'll double check to verify.
In the meantime, could you confirm that using Rendered will allow me to enter text with multiline, similarly to the "code block" macro like this?
It looks like you're new here. Sign in or register to get started.