Skip to content
converts HTML to Jade template. not fully functional yet but soon will be.
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
README.md
package.json

README.md

html2jade

html2jade converts HTML into Jade format.

Install

npm install html2jade

Usage

Outputs to stdout if input is URL

html2jade http://twitter.com

html2jade http://twitter.com > twitter.jade

Outputs to file if input is file

html2jade mywebpage.html # outputs mywebpage.jade
html2jade public/*.html  # converts all .html files to .jade

Status

Usable but sometimes requires fixing up, usually involving conditionals and PRE.

Something went wrong with that request. Please try again.