class Kramdown::Converter::Pdf
def setup_document(root)
Can be used to define repeatable content or register fonts.
Create a Prawn::Document object and return it.
def setup_document(root) doc = Prawn::Document.new(document_options(root)) doc.extend(PrawnDocumentExtension) doc.converter = self doc end