Last active
August 29, 2015 14:27
-
-
Save mojavelinux/95fade7b8dfc24e3b4da to your computer and use it in GitHub Desktop.
Test files for Asciidoctor PDF #303
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= Document Title | |
Doc Writer <doc@example.com> | |
:doctype: book | |
:source-highlighter: coderay | |
:listing-caption: Listing | |
// Uncomment next line to set page size (default is Letter) | |
//:pdf-page-size: A4 | |
A simple http://asciidoc.org[AsciiDoc] document. | |
== Introduction | |
A paragraph followed by a simple list with square bullets. | |
[square] | |
* item 1 | |
* item 2 | |
Here's how you say "`Hello, World!`" in Prawn: | |
.Create a basic PDF document using Prawn | |
[source,ruby] | |
---- | |
require 'prawn' | |
Prawn::Document.generate 'example.pdf' do | |
text 'Hello, World!' | |
end | |
---- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment