Use markdown in index and move generation of example list

The example list generation can from now on be found in
_includes/examples.html.