Files
Twig/extra/html-extra
Fabien Potencier 06ac86e3dd Merge branch '3.x' into 4.x
* 3.x:
  Fix tests
  Allow extra extensions to use Twig 4
2024-09-01 23:00:16 +02:00
..
2024-08-18 09:40:33 +02:00
2024-09-01 23:00:16 +02:00
2024-08-18 09:36:16 +02:00
2024-08-28 22:03:32 +02:00
…
2024-08-18 09:36:16 +02:00

Twig HTML Extension

This package is a Twig extension that provides the following:

  • data_uri filter: generates a URL using the data scheme as defined in RFC 2397;

  • html_classes function: returns a string by conditionally joining class names together.

  • html_cva function: returns a Cva object to handle class variants.