-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Asciidoctor PDF as a Prawn view #53
Comments
More information about Prawn::View can be found in the 1.3.0 release notes: |
I didn't know Prawn very well when I started it, so we ended up with a monolithic subclass of Document. We really need to upgrade Prawn and migrate to a Prawn View. The first step is a simple demonstration of how that might look. Don't worry about all the node handlers to start with. We need a vision. |
The view is now documented in the manual. See https://github.com/prawnpdf/prawn/blob/master/manual/basic_concepts/view.rb |
Make use of the Prawn "view" API instead of extending Prawn to isolate the Asciidoctor PDF methods from Prawn core.
For more information, refer to https://github.com/prawnpdf/prawn/blob/master/lib/prawn/view.rb
The text was updated successfully, but these errors were encountered: