fixing rst support and converting markdown files to rst extensions