Lesson

Basic Formatting (Markdown, Lists)

When you ask Claude a question, the way it formats the answer is just as important as the answer itself. If it hands you a massive, unreadable block of text, you still have to do the work of breaking it down.

Claude natively understands and outputs Markdown. If you aren't familiar with Markdown, it's just a simple way to format text using symbols (like # for headings or * for bold).

Controlling the Output Format

You don't just have to accept whatever formatting Claude spits out. You can (and should) dictate exactly how you want the data presented.

Prompt:

"Give me 5 tips for debugging React performance issues. Format the output as a bulleted list. Bold the key concept in each bullet, and include a 1-sentence explanation."

By giving it strict formatting rules, you get an answer that is instantly scannable and ready to be pasted into your own documentation or Slack messages.

Using Tables

Tables are an underutilized superpower in Claude. If you are comparing technologies, asking for a table is infinitely better than reading paragraphs.

Prompt:

"Compare React, Vue, and Svelte. Output the comparison as a Markdown table. Use columns for Framework, Learning Curve, Performance, and Best Use Case."

Claude will instantly generate a perfectly formatted table. If you want to drop that data into Excel or a database later, you can even ask it to format the table as a CSV (Comma-Separated Values) block instead.

JSON and Structured Data

As developers, we often need data in a format our code can actually read. Claude is excellent at generating JSON.

Prompt:

"Extract the user names, email addresses, and roles from this messy text string. Format the output strictly as a JSON array of objects. Do not include any other text or explanations before or after the JSON."

We touched on this earlier, but adding that constraint—"Do not include any other text"—is vital if you are piping Claude's output directly into another script or application.

In the next lesson, we'll dive deeper into how Claude handles code generation.

Ready to test your understanding? Take the quiz to reinforce what you learned.

© 2026 Ant Skillsv.26.07.07-23:01
Ant Skills - Lesson