Heya,
I'm using a shell script to get some variables from a file. I'd like to show it in two lines with different font sizes. Is there a way to achieve that?
Currently, my script looks like this:
source path_to_file
echo "{
\"text\":\"$var1 | $var2\n$var3\",
\"font_size\": "11"
}"
It puts var1 | var2 on the first line and var3 on the second line as I want but with same font size.
I've tried something like this
"{
\"text\":\"$var1 | $var2\",
\"font_size\": "11",
\"text\":\"$var3\",
\"font_size\": "10"
}"
but it doesn't work.
Any ideas how can I achieve two lines with different font sizes?