#!/usr/bin/env python # coding: utf-8 # # Testing the overlay feature # The overlay protocol goes like this # ## Using `overlay` # If we find an `overlay` entry in your RISE config - this can be set in many different places, see [the customization doc](http://rise.readthedocs.io/en/latest/customize.html) -, then this string will be inserted in a `div#rise-overlay` element that shows on every slide. # # So this is a very low-level entry point, you are entirely responsible for providing a complete html fragment, and for styling it - how you can inject styling here is another story entirely, that is too covered [in the customization doc as well](http://rise.readthedocs.io/en/latest/customize.html#adding-custom-css). # ## Using `header`, `footer` and `backimage` # If OTOH `overlay` cannot be found, then RISE looks for # * `header` # * `footer` # * and `backimage` (again in the `RISE` config) # Then it creates an html element that looks like this # # ``` #