Class: Codex::AddTitleSlides
- Inherits:
-
PostProcessor
- Object
- PostProcessor
- Codex::AddTitleSlides
- Defined in:
- lib/codex/post_processors/02_add_title_slides.rb
Overview
This allows you to create title slides in the middle of presentations, using:
h1(). Slide that only has a title
This is used by the @rake all@ task, that will build the @html/all.html@ file.
Instance Attribute Summary
Attributes inherited from PostProcessor
Instance Method Summary collapse
Methods inherited from PostProcessor
Constructor Details
This class inherits a constructor from Codex::PostProcessor
Instance Method Details
#process ⇒ Object
8 9 10 |
# File 'lib/codex/post_processors/02_add_title_slides.rb', line 8 def process @html = @html.gsub(/<div class="slide">\s*<h1 class="slide0"/m, %{<div class="title slide">\n<h1}) end |