Learn how to create and format a GitHub README using Markdown—from repo setup to headings, lists, code blocks, images, and more.
Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
Step 1: Create a new GitHub repository
my-first-repo
).
Step 2: Clone the repository to your local machine
git clone https://github.com/username/my-first-repo.git
cd my-first-repo
Step 3: Create a README.md file
touch README.md
Step 4: Add a main heading in Markdown
README.md
in your code editor.#
) to create the main title.
# My First Repository
Step 5: Write descriptive text and paragraphs
This repository contains my first GitHub project. Here I will experiment with Markdown syntax to format text, lists, code snippets, images, and more.
Step 6: Create bullet and numbered lists
- First bullet item
- Second bullet item
1. First numbered item
2. Second numbered item
Step 7: Add code blocks
\`\`\`
).`bash
or `javascript
).
```
npm install
npm start
```
Step 8: Insert inline code
\`
).
To run the script, type `node index.js` in your terminal.
Step 9: Embed images

.

Step 10: Add hyperlinks
[link text](https://example.com)
.
[Visit GitHub](https://github.com)
Step 11: Create tables
|
) and dashes (-
).
| Feature | Description |
| ------------- | ------------------------- |
| Headings | #, ##, ### |
| Lists | -, \*, 1. |
| Code blocks | \`\`\` |
Step 12: Preview your README
git add README.md
git commit -m "Add README with Markdown examples"
git push origin main
Step 13: Iterate and improve
README.md
to refine formatting or add sections (Usage, Contributing, License).
That's it! You now know how to write and format Markdown in a GitHub README.
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.