byteclubfr / prez

Generate Reveal.js slideshows from a set of markdowns
228 stars 42 forks source link

Per-directory data-* attributes #12

Open DavidBruant opened 8 years ago

DavidBruant commented 8 years ago

I'm not sure whether this is just a question or a feature request, but here it is: We've got training material at http://ants.builders/training/#/ that I've been working on converting to prez ( https://github.com/anthill/training/pull/9 ). Among other things, for each "section", we use a different color. The only way I've been able to implement this was by copy/pasting the color on every slide.

Is there a way to provide data attributes per-(slide-directory)?

naholyr commented 8 years ago

Thinking about ways to achieve this with @Delapouite we've come to these options:

I think we'll go both ways ;) Your opinion on file name?