updating indents and formatting of markup