Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

Commit

Permalink
added with-padding
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Sep 21, 2010
1 parent e1a89a8 commit de7ed4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/L5/layout.clj
Expand Up @@ -16,6 +16,9 @@
(defmacro with-size [size & body]
`(with {:font-size ~size} ~@body))

(defmacro with-padding [padding & body]
`(with {:padding ~padding} ~@body))

(defn img [file]
{:body (java.io.File. file)})

Expand Down

0 comments on commit de7ed4c

Please sign in to comment.