diff --git a/examples/pdf-images.js b/examples/pdf-images.js index 49c26d4..f7c1307 100644 --- a/examples/pdf-images.js +++ b/examples/pdf-images.js @@ -38,8 +38,10 @@ ctx.nextPage(); reset(); h1('Lime cat'); +p('This is a pretty sweet cat'); img('examples/images/lime-cat.jpg'); p('Figure 1.1 - Lime cat is awesome'); +ctx.nextPage(); fs.writeFile('out.pdf', canvas.toBuffer()); console.log('created out.pdf'); \ No newline at end of file