neilime/ansi-to-html-twig-extension

Twig extension to convert ANSI escapes (terminal formatting/color codes) to HTML

v2.0.0 2024-07-06 06:05 UTC

README

Ansi-To-Html Twig Extension

Continuous Integration codecov Latest Stable Version Total Downloads License Sponsor

📢 Ansi-To-Html Twig Extension is a Twig extension to convert ANSI escapes (terminal formatting/color codes) to HTML:

It is based on ANSI escapes to Html.

{% ansitohtml %}
Default \e[34mBlue
{% endansitohtml %}

Helping Project

❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project. You can sponsor him. Thank you !

Contributing

👍 If you wish to contribute to this project, please read the CONTRIBUTING.md file. Note: If you want to contribute don't hesitate, I'll review any PR.

Documentation

Installation

Usage

Code Coverage

PHP Doc

Development