Enhanced formatting of code example