Module: Asciidoctor

Defined in:
lib/asciidoctor/pdf/roman_numeral.rb,
lib/asciidoctor/pdf/pdfmark.rb,
lib/asciidoctor/pdf/version.rb,
lib/asciidoctor/pdf/converter.rb,
lib/asciidoctor/pdf/optimizer.rb,
lib/asciidoctor/pdf/sanitizer.rb,
lib/asciidoctor/pdf/theme_data.rb,
lib/asciidoctor/pdf/measurements.rb,
lib/asciidoctor/pdf/theme_loader.rb,
lib/asciidoctor/pdf/index_catalog.rb,
lib/asciidoctor/pdf/ext/prawn/images.rb,
lib/asciidoctor/pdf/text_transformer.rb,
lib/asciidoctor/pdf/ext/prawn/extensions.rb,
lib/asciidoctor/pdf/section_info_by_page.rb,
lib/asciidoctor/pdf/ext/asciidoctor/image.rb,
lib/asciidoctor/pdf/formatted_text/parser.rb,
lib/asciidoctor/pdf/formatted_text/formatter.rb,
lib/asciidoctor/pdf/formatted_text/transform.rb,
lib/asciidoctor/pdf/ext/prawn/coderay_encoder.rb,
lib/asciidoctor/pdf/formatted_text/source_wrap.rb

Overview

Registers a to_prawn method with CodeRay. The method returns an array of hashes to be used with Prawn::Text.formatted_text(array).

Usage:

CodeRay.scan(string, :ruby).to_prawn

Defined Under Namespace

Modules: Image, PDF, Prawn Classes: Document, List, Section