Zero-Code AI App BuilderZero-Code AI App Builder
Prompting & Planning

Markdown basics

The simple format AI understands best

Markdown is a simple way to format text using a few symbols. You'll use it for every planning document in this course, and you'll see it in almost every AI answer.

What is Markdown?

Think of Markdown as writing notes with a few shortcuts. A # means "this is a heading". A - means "this is a list item". Apps then show it nicely, with big headings and neat bullets.

  • It's plain text, so any app can open it.
  • Markdown files end in .md, like README.md.
  • AI models read and write Markdown very well. ChatGPT, Claude, and Gemini use it in their answers.
  • GitHub, VS Code, and many note apps show it formatted automatically.

The text with symbols is called the source. The nicely formatted version is called the rendered result.

Headings

Start a line with # and a space. More # symbols make a smaller heading.

notes.md
# Habit Tracker
## Features
### Streaks

This renders as a big title "Habit Tracker", a smaller section heading "Features", and an even smaller sub-heading "Streaks". Use one # for the page title, then ## for sections.

Lists

Use - for bullet points and 1. for numbered steps. Indent with two spaces to make a sub-item.

notes.md
- Add a habit
- Check off a habit
  - Only once per day

1. Plan the app
2. Build the app
3. Publish the app

This renders as a bullet list (with an indented sub-bullet) followed by a numbered list from 1 to 3.

Bold, italic, and links

notes.md
This is **bold** and this is *italic*.
Read the [Lovable docs](https://docs.lovable.dev) for help.

Let's break this down:

  • **text** renders as bold.
  • *text* renders as italic.
  • [words](url) renders as a clickable link showing "Lovable docs".

Code blocks

Wrap code, commands, or prompts in three backticks (```). The text inside is shown exactly as typed, in a special font. You can add a language name after the first backticks.

notes.md
To start the app, run:

```bash
npm run dev
```

Use `single backticks` for short code inside a sentence.

This renders as a gray box containing npm run dev, and the words "single backticks" shown in code font inside the sentence.

The backtick key is usually at the top left of your keyboard, next to the 1 key. It is not the same as a normal apostrophe.

Tables

Use | to separate columns. The second line, with dashes, separates the header from the rows.

notes.md
| Habit      | Goal       | Streak |
|------------|------------|--------|
| Read       | 10 pages   | 5      |
| Walk       | 20 minutes | 12     |

This renders as a neat table with three columns and two rows. The spaces don't have to line up perfectly. It still works.

Checklists

A checklist is a list item with [ ] (not done) or [x] (done). They're perfect for build plans.

notes.md
- [x] Write the PRD
- [x] Create the project in Lovable
- [ ] Add the habit list screen
- [ ] Add streaks

On GitHub and in many apps, this renders as checkboxes, with the first two ticked.

FeatureYou typeYou get
Heading# TitleA big heading
Bullet- itemA bullet point
Numbered1. stepA numbered step
Bold**word**Bold text
Link[text](url)A clickable link
Inline code`code`Code font
Checklist- [ ] taskA checkbox
A quick Markdown cheat sheet.

Asking AI for Markdown

You can ask any AI to give you Markdown source you can save as a file.

Prompt
Turn my notes below into a clean Markdown document with a title,
sections with ## headings, and a checklist of next steps.
Put the whole thing in one Markdown code block so I can copy it.

[paste your notes]

Common mistakes

  • Forgetting the space after # or -. #Title may not become a heading.
  • Using one # for every heading. Use ## and ### for sections.
  • Forgetting to close a code block with three backticks. Everything after it becomes code.
  • Missing the dash line in a table, so it shows as plain text.

Practice

Try these exercises to lock in what you just learned.

Quiz
Not started
Which Markdown line makes a section heading?
Quiz
Not started
What does this Markdown render as?
markdown
- [x] Write the PRD
- [ ] Add streaks
Quiz
Not started
How do you write a link in Markdown?

What's next?

Now that you can write Markdown, let's use it to create the first file every project needs: a README.