Sample Course
1. Creating Course Slides
Creating Course Slides
Thomas Leitner
@gettalong @_gettalong
The Ingredients
-
webgen
-
kramdown
-
prawn (and prawn-table, prawn-fast-png)
Static Website Generator webgen
-
Meta information files for easy configuration of multiple input files
-
Ability to support multiple output files for a single input file (version)
-
Extension mechanism for defining the custom PDF content processor
-
Deep integration with kramdown
-
Template chaining
Markdown-superset Converter kramdown
-
Does the actual hard work of converting our markup into an output format
-
Has a built-in experimental PDF converter based on the Prawn library
-
Customization of the PDF output by modifying the converter object
PDF Creation Library prawn
-
The de-facto standard for creating PDFs in Ruby
-
Provides high-level facilities for text layout
-
Faster than shelling out to
wkhtmltopdf
and better output