Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An AsciiDoc parser written in Ruby. Parses an AsciiDoc file into native Ruby objects, and provides an interface for exporting to HTML / PDF with custom .erb templates
Ruby
Branch: master
Pull request Compare This branch is 1 commit ahead, 31 commits behind runemadsen:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.DS_Store
.gitignore
Gemfile
README.md
Rakefile
asciidoc.gemspec

README.md

About

This gem makes it possible to publish books in PDF and HTML format using only Asciidoc, HTML (Ruby .erb views) and CSS. It's built on the premise that you want to write books like you write a modern web application: You have your data (Asciidoc text) that you present in custom views (.erb files) that you can style with CSS. No need for crazy XSLT stylesheets.

The gem was developed for Daniel Shiffman's "The Nature of Code" book, released via Kickstarter funding. There is still some way to go, but we're working on hard on releasing a stable version 1.0.

Dependencies

This gem uses the asciidoc program to parse text into XML. It also uses Prince XML for PDF rendering (we are using this until we find a good, open-source HTML to PDF renderer)

Something went wrong with that request. Please try again.