Skip to content

Instantly share code, notes, and snippets.

@puyo
Created May 1, 2012 06:31
Show Gist options
  • Save puyo/2565594 to your computer and use it in GitHub Desktop.
Save puyo/2565594 to your computer and use it in GitHub Desktop.
LiveReload + HAML + Markdown = Convenient way to write a nice looking report?
!!!5
%head
%title Report on Things and Stuff
%style
:sass
body
font-family: 'Helvetica Neue', Helvetica, sans-serif
color: #333
margin: 10px auto 50px auto
width: 720px
# other styling...
%body
%hgroup
%h1 Report on Things and Stuff
%h2 Gregory McIntyre, May 2012
:markdown
# Report
Lorem ipsum ...
## Things
Lorem ipsum ...
## Stuff
Lorem ipsum ...
@monomadic
Copy link

why not just use markdown with sublime/textmates 'preview' feature?

@puyo
Copy link
Author

puyo commented May 1, 2012

Can you style it how you want?

@monomadic
Copy link

ahh, if you want styling I guess you can't really do that with preview

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