fixed formatting in documentations

improved formatting of code blocks