Format code example in validation page.