Add ajax file upload and markdown convertsion

Inconsistend indentation.