append_newline
Appends a new line character to a string.
Example
1
{{ 'Hello' | append_newline | append: 'world' }} => Hello\nworld
Input
Type | Parameter | Description | Required |
---|---|---|---|
string | string | The string to append the newline character to. Comes before the | sign. | Required |
Output
Type | Description |
---|---|
string | The string with the newline character appended |