Registry / utility / html2haml

html2haml

JSON →
library2.3.0rbrubygemsunverified

Converts HTML documents into Haml templates.

gem install html2haml
INSTALL
IMPORT
SIG · HTML2HAML
H
html2haml
utilityrubyv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HTML2Haml
require 'html2haml'

Convert HTML to Haml

require 'html2haml' html = '<div id="content"><p>Hello</p></div>' haml = HTML2Haml.new(html).render puts haml
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
html2haml — gem install html2haml · libregistry