Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 552 Bytes

basic-example.adoc

File metadata and controls

29 lines (22 loc) · 552 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