Changed the rules for heading and code blocks