format code md and cleanup index md