How do I apply formatting like italic or bold to text using ANSI escaping sequences in a console?
snippet in lua

How do I apply formatting like italic or bold to text using ANSI escaping sequences in a console?

user7083

echo -e "\e[1mbold\e[0m"
echo -e "\e[3mitalic\e[0m"
echo -e "\e[4munderline\e[0m"
echo -e "\e[9mstrikethrough\e[0m"
echo -e "\e[31mHello World\e[0m"
echo -e "\x1B[31mHello World\e[0m"