Browse files

Show (merge-pdfs ..) usage in README

Add comments for each example provided. This is feasible right now as we
have a small API. This might be better off in a wiki as the library
  • Loading branch information...
KushalP committed Apr 9, 2012
1 parent 34b7517 commit b6360bcfe477b49f330d2d58f6566683ddc01c01
Showing with 5 additions and 0 deletions.
  1. +5 −0
@@ -13,10 +13,15 @@ Add camelot as a dependency to your project. Jars are [published to]
Start using the library!
``` clojure
+;; Create PDF files with some text.
(-> {:font "Helvetica-Bold"
:size 12
:text "Hello World"}
(save-as "/tmp/test.pdf"))
+;; Merge a number of existing PDF files.
+(-> ["filea.pdf" "fileb.pdf" "filec.pdf" "filed.pdf"]
+ (merge-pdfs "/tmp/merged.pdf"
## Development

0 comments on commit b6360bc

Please sign in to comment.