Frequently Asked Question

What is Markdown (.md) formatting?
Last Updated about a month ago

image

Why Do GitHub Files End in .md?

Overview

If you've spent time browsing GitHub repositories, you've probably noticed files such as:

  • README.md
  • LICENSE.md
  • CONTRIBUTING.md
  • CHANGELOG.md

The ".md" extension stands for Markdown, a lightweight formatting language used to create professional-looking documentation without needing HTML or web design skills.

GitHub automatically renders Markdown files into clean, readable webpages.

Why Use Markdown?

Markdown makes documentation easier to read and organize.

Instead of writing plain text, you can create:

  • Headings
  • Bullet points
  • Numbered lists
  • Tables
  • Links
  • Images
  • Code blocks

This helps transform simple notes into professional project documentation.

Common Markdown Symbols

Headings (#)

Use the # symbol to create section headings.

Example:

Main Heading

Section Heading

Subsection Heading

The more # symbols you add, the smaller the heading becomes.

Bullet Lists (- or *)

Both dashes and asterisks create bullet points.

Example:

  • Linux
  • Windows
  • Networking

or

  • Linux
  • Windows
  • Networking

Both formats work the same way.

Numbered Lists

Example:

  1. Install Linux
  2. Configure Networking
  3. Validate Connectivity

GitHub automatically formats the list in numerical order.

Bold Text (**)

Example:

Important Information

Result:

Important Information

Use bold text to highlight important details.

Italic Text (*)

Example:

Important Note

Result:

Important Note

Use italics for emphasis.

Links

Example:

Visit GitHub

GitHub will automatically create a clickable link.

Images

Example:

Dashboard Screenshot

This allows screenshots to appear directly inside documentation.

Code Blocks

Use three backticks before and after code.

Example:

sudo systemctl status sshd

Result:

sudo systemctl status sshd

Code blocks preserve formatting and improve readability.

Common Professional GitHub Files

README.md

The most important file in a repository.

Typically contains:

  • Project Overview
  • Objectives
  • Technologies Used
  • Installation Instructions
  • Screenshots
  • Lessons Learned

LICENSE

Explains how others may use your work.

Common examples include:

  • MIT License
  • Apache 2.0
  • GPL

CHANGELOG.md

Tracks major project updates and improvements.

Useful for documenting project growth over time.

CONTRIBUTING.md

Provides guidelines for people who want to contribute to a project.

Most commonly used in larger open-source projects.

Tips for Professional Documentation

Keep a Consistent Structure

Use the same format for every project:

  1. Overview
  2. Objectives
  3. Technologies Used
  4. Installation Steps
  5. Screenshots
  6. Lessons Learned

Consistency makes repositories easier to navigate.

Use Screenshots

Visual evidence helps demonstrate completed work and validates project functionality.

Write for Beginners

Assume someone else may need to recreate your project.

Document enough detail so another person can follow your steps.

Keep Documentation Updated

If the project changes, update the documentation.

Good documentation reflects the current state of the project.

Key Takeaway

Markdown (.md) files are the foundation of professional GitHub documentation.

Learning a few simple Markdown symbols such as #, *, -, and ** can dramatically improve the appearance and readability of your repositories.

Strong documentation not only helps others understand your work—it also helps you remember what you built, how you built it, and what you learned along the way.

Please Wait!

Please wait... it will take a second!