Optimizing Content for AI-Generated Answers: Formatting Strategies for ChatGPT, Gemini, and Perplexity