public
Last active

convert jade to html

  • Download Gist
jader.sh
Shell
1 2 3 4 5 6
function jader {
scalate tojade $1 | sed 's/" /",/g' > `basename $1 .html`.jade
}
 
 
### PRE-REQUISITE: scalate (e.g. "brew install scalate")

div.content
div.spacer-blank
div.row
div.span4.offset4
div.registration
form.form-vertical(id='signin', method='post', action='')
fieldset
legend.museo-slab Sign In
div.control-group
label.control-label Username

                        div.controls
                            input.input-xlarge.gen-font(type='text', id='username', name='username')

                    div.control-group
                        label.control-label Password

                        div.controls
                            input.input-xlarge(type='password', id='password', name='password')

                    div.control-group
                        label.control-label

                        div.controls
                            button.btn.btn-success(type="submit") Sign In

div.spacer-blank

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.