zsh/misc.zsh @ 6a7961f15ca1

vim: update slime
author Steve Losh <steve@dwaiter.com>
date Tue, 27 Jul 2010 09:08:57 -0400
parents 60a5c951165a
children c591465563db
alias pbc='pbcopy'
alias pbp='pbpaste'

function mdown () {
    (echo '
        <head>
            <style>
                body {
                    font-family: Georgia;
                    font-size: 17px;
                    line-height: 1.4;
                    color: #222;
                    text-rendering: optimizeLegibility;
                    width: 700px;
                    margin: 20px auto;
                }
                h1, h2, h3, h4, h5, h6 {
                    font-family: Garamond;
                    font-weight: normal;
                }
                pre {
                    background-color: #f5f5f5;
                    font: normal 16px Menlo;
                    padding: 8px 10px;
                }
            </style>
        </head>
    '; markdown $@) | bcat
}