Code formatting, escaping, and doc blocks