Permalink
3771f05 Sep 25, 2016
1 contributor

Users who have contributed to this file

32 lines (24 sloc) 596 Bytes

Document Title

A simple AsciiDoc document.

Introduction

A paragraph followed by a simple list with square bullets.

  • item 1

  • item 2

Here’s how you say “Hello, World!” in Prawn:

Listing 1. Create a basic PDF document using Prawn
require 'prawn'

Prawn::Document.generate 'example.pdf' do
  text 'Hello, World!'
end