Fix formatting of code samples