Added summary table. Generalised markdown to pdf/html.