If I typed this text, and then clicked the <> code tool, it would suffer the same fate as the text in your original post. That code tool doesn't care what text it is, or where it came from, it will spew color on the text.
Here is a proper use of the code tool. Save the following in a text file (e.g. lsd.sh) and run from the Terminal on a file as
./lsd.sh foo.txt
#!/bin/bash
#
# Syntax: http://www.real-world-systems.com/docs/stat.1.html
# and: man stat
# See: stat(1), strftime(3)
for file in "$@"
do
stat -t '%Y-%m-%d %X' -f '%n%Sp%T %z %Su %Sg %N %SY %n Last Access: %Sa %n Last Modify: %Sm %n Last inode change: %Sc %n Birth of inode: %SB%n' "${file}"
done
printf "\n"
exit 0