add auto-save and markdown mode
do not use real auto save it not work well