Skip to content
Markdown basics

What is Markdown?

Markdown is readable plain text that uses simple symbols to add structure and formatting.

Markdown source beside a rendered preview with lists and tables

A plain-text format with visible structure

In a rich-text editor, formatting is usually stored behind the document you see. In Markdown, the formatting instructions stay in the text. A line that begins with # is a heading, and text wrapped in ** is bold.

The source remains readable before it is rendered. That makes Markdown useful for documentation, README files, notes, technical articles, issue descriptions, and content stored in version control.

In one sentence

Markdown adds formatting with ordinary text characters, while keeping the original source portable and readable.

What is a .md file?

It is a plain-text file that uses Markdown syntax. The extension tells compatible apps how to render it.

README.md

# Project name

A short description with **important details**.

- Install the package
- Read the documentation
- Open an issue if you get stuck

Open anywhere

Any plain-text editor can open the source, even if it does not render the formatting.

Preview when needed

A Markdown viewer turns the source into a readable page without changing the file.

Track clean changes

Because the file is text, version-control systems can show exactly which lines changed.

Core Markdown syntax

These examples cover the basic patterns. Use the docs for the complete syntax reference and platform-specific features.

Heading# Project notesProject notes
Bold**important**important
Link[mdedit.ai](https://mdedit.ai)mdedit.ai
List- First item - Second itemA two-item bullet list
Inline code`npm run build`npm run build
Quote> Keep the source readable.An indented quotation

Markdown compared with rich text

Both can produce formatted documents, but they store and expose that formatting differently.

Differences between Markdown and rich-text document formats
QuestionMarkdownRich text
How is formatting stored?Visible symbols in plain textFormatting data managed by the editor or file format
Can any text editor open it?YesNot always, especially for binary document formats
Is the raw source readable?UsuallyDepends on the storage format
Is layout control comprehensive?No, it favors common document structureOften broader and more visual

Open, edit, or preview a Markdown file

To read it

Open the file in a text editor for the raw source, or use the Markdown Viewer for a formatted preview.

To change it

Use any text editor, or open the free online Markdown editor to edit with a live preview.

To learn more syntax

Keep the detailed reference open in the Markdown features docs.

Choose the surface that matches the job

Viewer

Read or preview Markdown without committing to an editing workflow.

Preview Markdown

Editor

Write, revise, and see the rendered result update beside the source.

Start writing

Markdown questions

See Markdown become a document

Open the scratchpad, edit the source, and watch the preview update instantly.