Fix file endings for examples

reStructured should use reStructured for linked documents. Markdown should use Markdown for linked documents.
Merge pull request #986 from TheHippo/patch-1

Fix file endings for examples