tinyphp-function / html2pug
Convierte un contenido html a pug
1.0
2024-11-22 02:33 UTC
This package is not auto-updated.
Last update: 2024-11-23 00:41:23 UTC
README
Instalación via composer
composer require tinyphp-function/html2pug
Funciones
/** Convierte un contenido html a pug */
function html2pug(string $html): string
/** Función para convertir nodos DOM a formato Pug */
function dom2pug(string &$pug, DOMNode $node, int $indent = 0, DOMElement $parent = null): void