adds markdown and displays number of favorites