bartaz/impress.js — Issue #7: Support HTML5 sections as well as divs
Author: ear1grey
Created: 2012-01-01 23:11:21+00:00
State: open

A configuration step could be added so that the slide selector can be defined. This would allow for other definitions of what constitutes a slide. e.g. It would be useful to have the HTML5 `section` tag supported, so that rather than working with divs in a purely linear document, each section and (importantly) sub-section can become a slide. For example, see the structure of http://webf1.soc.port.ac.uk/2011/style/lecture/ ... it's a structurally nested document, but you can press escape to start the presentation and it works linearly. For education purposes having a doc that can be presented is invaluable - less writing is good! If I get time before someone else does I'll look into extracting the useful code and put in a pull request, but be my guest to run with the idea/request.

What would be *especially* nice if if the document structure could be somehow reflected using an automatic presentation structure, so that the document should have no extra markup beyond the `script` tag.