html2jade
html2jade copied to clipboard
Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
Posting this here, apologies if it's already been fixed but it's still live on http://html2jade.aaron-powell.com/ and http://html2jade.org/ at least. SVGs are being completely broken by the conversion. The attribute capitalization...
Eg- this piece of code from a valid angular template becomes error prone when converted to jade cause `ngModel` is converted to `ngmodel` ``` User info User Email Submit ```
maybe `` should be parsed into `div(data-abc='ab\\cdef')` rather than `div(data-abc='ab\cdef')`
Angular 2 makes use of case-sensitive attributes. For this test I have this html: ```html Index ``` If I run: ```bash $ html2hade test.html --bodyless ``` I get: ```jade nav...
https://pugjs.org/api/migration-v2.html#project-rename
````html ```` converts into ``````pug //if lt IE 9 script(src='ie8-scripts.js') `````` which converts into ````html ```` I think it just needs to literally output the html as is if it...
This is what I get: ``` .medium-6.columns label | Arrival input(list='arrival', type='text', placeholder='Arrival', required='', autocomplete='') datalist#arrival select(name='arrival') option option(value='individual') Individual option(value='organization') organization ``` When I put in this: ``` Arrival...
I would like to submit this for consideration. Currently, if you use this tool, you have to do a lot of cleanup work to get br to work right. br...
I started a https://github.com/tb/html2jade/tree/es6 branch where I did setup of ES6 migration. Please have a look and let me know if I can continue on it.
When supplying a file that has a DIV as the outer most element I only get the DIV in the jade file and not any of it's children.