Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 885 Bytes

basic-example.adoc

File metadata and controls

39 lines (29 loc) · 885 Bytes

Document Title

Table of Contents

An example of a basic AsciiDoc document prepared by Doc Writer.

Introduction

A paragraph followed by an unordered list[1] with square bullets.[2]

  • item 1

  • item 2

  • item 3

Main

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

Conclusion

That’s all, folks!


1. AsciiDoc supports unordered, ordered, and description lists.
2. You may choose from square, disc, and circle for the bullet style.