Given an input string, it will return a new string with the ANSI codes for
italic around it.
Example
italic("Vangware"); // "\x1b[3mVangware\x1b[23m" // It can also be used as a tag function for tagged templates: italic`Vangware`; // "\x1b[3mVangware\x1b[23m"
Italic code wrapper.
Remarks
Given an
input
string, it will return a new string with the ANSI codes for italic around it.Example
See