1001Ferramentas
🔄Converters

HTML to Pug Converter

Shows how to translate HTML into indentation-based Pug syntax with attribute and nesting examples.

Cada tag HTML vira o nome do elemento sem <>, e o aninhamento é feito por indentação.

<ul><li>Item</li></ul>ul\n li Item

Atributos: <a href="/x">a(href="/x"). Classes: div.classe. IDs: div#meu-id.

Related Tools