html2haml

Converts HTML into Haml

Install

All systems
curl cmd.cat/html2haml.sh
Debian Debian
apt-get install ruby-html2haml
Ubuntu
apt-get install ruby-html2haml
image/svg+xml Kali Linux
apt-get install ruby-html2haml
Windows (WSL2)
sudo apt-get update sudo apt-get install ruby-html2haml
Raspbian
apt-get install ruby-html2haml

ruby-html2haml

Converts HTML into Haml

This package was split by its upstream author from the 'Haml' gem (package ruby-haml). It allows converting between HTML and HAML markups, and while mainly aimed at being used within Ruby code, includes an executable wrapper that allows it to be called from the command line.

ruby-haml

Elegant, structured XHTML/XML templating engine

Haml (HTML Abstraction Markup Language) is a layer on top of XHTML or XML that's designed to express the structure of XHTML or XML documents in a non-repetitive, elegant, easy way, using indentation rather than closing tags and allowing Ruby to be embedded with ease. It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine.