I have been trying to get small script working over the last few hrs and this is what I came up with: #!/bin/bash notes=$(cat /home/chansen/Nextcloud/notes.md) convert -geometry x1080\ -fill '#00000050'\ -draw "rectangle 50,50 530,970"\ -pointsize 20 \ -fill '#ffff99'\ -draw "text 70,100 '$notes ...