Format newline for API section