Updated to markdown and fixed code formatting.