Format single line code example