Add "auto_format" configuration variable

Controls automatic formatting of code, i.e. currently code blocks.