/github-for-non-tech

How to write markdown in GitHub README?

Learn how to create and format a GitHub README using Markdown—from repo setup to headings, lists, code blocks, images, and more.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.

Book a free No-Code consultation

How to write markdown in GitHub README?

 

Step 1: Create a new GitHub repository

 

  • Sign in to your GitHub account.
  • Click the “+” icon in the top right corner and select “New repository.”
  • Enter a repository name (for example, my-first-repo).
  • Optionally add a description and choose Public or Private.
  • Click “Create repository.”

 

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

 

  • Open README.md in your code editor.
  • Use a single hash (#) to create the main title.

# My First Repository

 

Step 5: Write descriptive text and paragraphs

 

  • Simply type your content below the heading as plain text.

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

 

  • Use hyphens or asterisks for unordered lists.
  • Use numbers followed by periods for ordered lists.

- First bullet item
- Second bullet item

1. First numbered item
2. Second numbered item

 

Step 7: Add code blocks

 

  • Wrap code with triple backticks (\`\`\`).
  • Specify a language for syntax highlighting (e.g., `bash or `javascript).

```
npm install
npm start
```

 

Step 8: Insert inline code

 

  • Wrap code snippets inside single backticks (\`).

To run the script, type `node index.js` in your terminal.

 

Step 9: Embed images

 

  • Upload an image to your repo or use an external URL.
  • Use the syntax ![alt text](image-url).

![Logo](https://example.com/logo.png)

 

Step 10: Add hyperlinks

 

  • Use the syntax [link text](https://example.com).

[Visit GitHub](https://github.com)

 

Step 11: Create tables

 

  • Use pipes (|) and dashes (-).

| Feature       | Description               |
| ------------- | ------------------------- |
| Headings      | #, ##, ###                |
| Lists         | -, \*, 1.                  |
| Code blocks   | \`\`\`                       |

 

Step 12: Preview your README

 

  • Commit and push your changes.
  • Visit your repository on GitHub to see the rendered README.

git add README.md
git commit -m "Add README with Markdown examples"
git push origin main

 

Step 13: Iterate and improve

 

  • Edit README.md to refine formatting or add sections (Usage, Contributing, License).
  • Repeat the preview steps until you’re satisfied.

 

That's it! You now know how to write and format Markdown in a GitHub README.

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022