Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 596 Bytes

basic-example.adoc

File metadata and controls

31 lines (24 loc) · 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