changed code and pre styling to github-type styles