Fix code blocks to github and bitbucket compatible format.