Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
This works as expected,
\set x '''2\n3'''
but this doesn't
\set x '''2
Is there a workaround for later example so I don't have to use \n instead of newline?
To answer my own question, the \gset command should be used for multiline variable content,
3''' x \gset
Required, but never shown