macmillanpublishers / htmlmaker_js

Repo for testing and finalizing htmlmaker javascript implementation
0 stars 1 forks source link

[ss] Get header block H1 from section-start type, not section data-type #29

Closed nelliemckesson closed 7 years ago

nelliemckesson commented 7 years ago

Currently if no h1 is present within a section, the header block is populated with the current section type ("Chapter", "Appendix", etc.). We should instead find a way to preserve the section-start type in the section tag (since those are more detailed).

Additionally, if we are adding headers for all chapters, all appendixes, etc., we should add autonumbering to the h1 ("Chapter 1", "Chapter 2", etc.).

nelliemckesson commented 7 years ago

See #31