apply code-block formatting