h5o / h5o-js

HTML5 outliner (JavaScript)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option to skip the top-level header when generating a ToC

dominykas opened this issue · comments

From jyass...@google.com on April 29, 2013 00:23:37

Generally inside a document the table of contents will appear below the top-level <h1>, so showing it again looks bad. This patch switches asHTML from taking a single boolean to taking an options object so that this sort of change is easier in the future.

Attachment: skipTopHeader.patch

Original issue: http://code.google.com/p/h5o/issues/detail?id=18