Document Title

Doc Writer

Table of Contents

A simple AsciiDoc document.

Introduction

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

  • 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
  1. Add Hello, World! as text

Equations and Formulas

If you need to get technical in your writing, Asciidoctor integrates with MathJax.

Here some examples:

\$sqrt(4) = 2\$

Water (\$H_2O\$) is a critical component.

\(C = \alpha + \beta Y^{\gamma} + \epsilon\)

Icons

Size & title

Do you want to drink a small or a tall pint ?

Fixed-width

vertical ruler
horizontal ruler

Rotate





Roles

Set

Admonitions

Don’t stick forks in electric sockets.
After someone sticks a fork in a socket, you’ll need to reset the circuit in the breaker box in the dark and scary basement.
Never go into the basement.
A monster lives in the basement.
If you go into the basement, see if you can find Kenny’s parka.
Header One Header Two

Cell 1

Cell 2

Definition Term

Definition

Text left

Text center

Text Right

A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text. A big blob of text.

Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page. Stretch to the next page.

Keep Together

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

a

Heading that should join paragraph on next page

b

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.