Closed myleshyson closed 3 months ago
Adds a new parse function that returns the ansi formatted string from some given HTML.
parse
use function Termwind\{parse}; $string = parse(<<<'HTML' <div class="bg-white underline uppercase">Hello world</div> HTML); // returns "<bg=white>\e[4mHELLO WORLD\e[0m</>"
Already available, thanks @myleshyson.
Adds a new
parse
function that returns the ansi formatted string from some given HTML.