bookie icon indicating copy to clipboard operation
bookie copied to clipboard

Book#render patches and sub-section headings

Open semmons99 opened this issue 14 years ago • 0 comments

Two changes to Book#render to accept a single Emitter, and automatically call Emitter.new if an Emitter Class is passed instead of an Emitter instance.

Now I can write

book.render("rbmu-mentoring", Bookie::Emitters::PDF)

Also added the ability to detect sub-section heading /^### / and act accordingly.

semmons99 avatar Jun 07 '11 13:06 semmons99