generate slide with impress.js based on a rest file