How to create a text replacement in iPhone with New Lines

Hi,

I want to create text replacement with multiple lines (with return in between). When I tried to write something with more than one line and then paste it in the text replacement box, a text replacement is created but it pastes everything in one line.

Is this possible ?

Note:
I have been doing this till now with the help of iCloud Sync - by creating shortcuts on Mac and then syncing them on iOS. But unfortunately it does not work anymore and I am not able to find any solution anywhere.
Wasted more than 4 days into this.
"To my knowledge", the text replacement mechanism will not recognize the Return key press.

Original thread: https://forums.imore.com/threads/how-to-create-a-text-replacement-in-iphone-with-new-lines.377595/