markdown and attempts controller