How do I set Json or HTML into a variable?

Hi all
I have this format below, how to I set it as a string without messing up the format?

-----****----

body { background-color: lightblue; }

h1 {
color: white;
text-align: center;
}

p {
font-family: verdana;
font-size: 20px;
}

My First CSS Example

This is a paragraph.

Do you want to preserve the word format as well e.g bold letters?

If you just want to keep the spacing/newline i would paste it into a txt file then in uipath use read txt file to assign the contents to a variable


then the format of the output will be preserved
image

haha thanks. but that’s so troublesome, i’m thinking if there is an easier way without using notepad.