Skip to content

Instantly share code, notes, and snippets.

@mahemoff
Created September 9, 2011 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mahemoff/1207445 to your computer and use it in GitHub Desktop.
Save mahemoff/1207445 to your computer and use it in GitHub Desktop.
convert jade to html
function jader {
scalate tojade $1 | sed 's/" /",/g' > `basename $1 .html`.jade
}
### PRE-REQUISITE: scalate (e.g. "brew install scalate")
@cdrappi
Copy link

cdrappi commented Oct 19, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment