Skip to content

Conversation

semmons99
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants