oreillymedia/HTMLBook — pull request #102 by sandersk (2013-11-07 23:02:14+00:00)
Title: Refactored heading handling and added parameterized support for labels in PDF bookmarks

Refactored away some of the duplicate code for heading processing (in "process-headings" mode template). Also added parameterized support for adding labels to the `data-pdf-bookmark` attribute, via `$autogenerate.pdf.bookmark.labels`