donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

Add --nspaces arg to specify the number of spaces to indent with. #56

Closed mef51 closed 11 years ago

mef51 commented 11 years ago

I like using 4 spaces instead of 2 and was too lazy to edit it in my editor so I added this argument.

html2jade -n 4

Will generate jade files with 4 spaces instead of 2. Default is still 2 spaces.

Might be convenient for someone else!

Take care

donpark commented 11 years ago

completely overlooked yet obvious feature. thx @mef51.

mef51 commented 11 years ago

thanks!