Newline in the text of clientside_callback

Hi Team:

I am trying to allow client to copy/paste to clipboard using a click button. Understood that we should use the clientside_callback.

Can someone please tell me how we should handle line break in the text?

For example, this is the expected output:
“I am
here.”

In the clientside_callback, if I use:
‘I am \n here’, ‘I am \n\r here’, an exception is thrown saying “invalid or unexpected tokens”.

If I use:
‘I am
here’, it doesn’t work neither.

Can someone please share some thoughts? Thanks