Skip to content

Markdown Introduction

Markdown is a lightweight markup language created by John Gruber in 2004. Its design philosophy is to make documents easy to read and write, using simple plain text format that can be easily converted to HTML or other formats.

What is Markdown?

Markdown is a plain text markup language that uses simple markup symbols to format text. Compared to complex markup languages like HTML, Markdown syntax is much more concise and intuitive.

Key Features

  • High Readability: Markdown documents are easy to read even without converting to HTML
  • Easy to Write: Simple syntax with low learning curve
  • Plain Text: Can be edited with any text editor
  • Convertible: Can be converted to HTML, PDF, Word, and other formats
  • Version Control Friendly: Plain text format makes it easy to use with version control tools like Git

History of Markdown

  • 2004: John Gruber and Aaron Swartz created Markdown
  • Design Goal: Create an easy-to-read and easy-to-write plain text format
  • Inspiration: Inspired by plain text email formats
  • Rapid Adoption: Widely adopted due to its simplicity
  • Standardization: Emergence of standardized specifications like CommonMark

Why Use Markdown?

1. Simple and Easy to Learn

Markdown syntax is very simple; you can master basic usage in minutes:

markdown
# This is a level 1 heading
## This is a level 2 heading

**This is bold text**
*This is italic text*

- This is a list item
- Another list item

2. Focus on Content

Using Markdown allows you to focus on content creation rather than spending time on complex formatting.

3. Cross-platform Compatibility

Markdown files are in plain text format and can be opened and edited on any operating system and device.

4. Version Control

Plain text format makes Markdown files perfect for management with version control systems like Git.

5. Widespread Support

Many platforms and tools support Markdown:

  • GitHub, GitLab, Bitbucket
  • Blog platforms (Jekyll, Hugo, Hexo)
  • Note-taking apps (Notion, Obsidian, Typora)
  • Documentation tools (VitePress, Docusaurus)
  • Forums and communities (Reddit, Stack Overflow)

Markdown Use Cases

Technical Documentation

  • README files: Project description documents
  • API documentation: Interface descriptions and usage guides
  • Technical blogs: Technical articles and tutorials
  • User manuals: Software usage instructions

Content Creation

  • Personal blogs: Static blog generation
  • E-books: Writing books with Markdown
  • Presentations: Creating slides
  • Academic papers: Used with LaTeX

Collaborative Work

  • Team documents: Project documentation and knowledge bases
  • Meeting notes: Quick recording of meeting content
  • Task management: Using task lists
  • Code comments: Writing documentation within code

Personal Management

  • Note management: Daily notes and knowledge organization
  • Journaling: Recording life and thoughts
  • To-do lists: Task and plan management
  • Study notes: Course notes and summaries

Markdown Variants

While Markdown has a basic standard syntax, there are also some extended variants:

CommonMark

  • Standardized Markdown specification
  • Resolves ambiguities in original Markdown
  • Widely adopted

GitHub Flavored Markdown (GFM)

  • Markdown variant used by GitHub
  • Supports task lists, tables, strikethrough, and more
  • Code block syntax highlighting

Markdown Extra

  • Adds features like tables, footnotes, definition lists, and more
  • Supports special attributes

MultiMarkdown

  • Supports more advanced features
  • Includes tables, footnotes, citations, and more

Markdown vs Other Formats

Markdown vs HTML

FeatureMarkdownHTML
Readability⭐⭐⭐⭐⭐⭐⭐
Writability⭐⭐⭐⭐⭐⭐⭐
Functionality⭐⭐⭐⭐⭐⭐⭐⭐
Learning CurveLowMedium

Markdown vs Word

FeatureMarkdownWord
File SizeSmallLarge
Version ControlFriendlyDifficult
Cross-platformExcellentAverage
Format ControlSimpleComplex

Getting Started with Markdown

Ready to start using Markdown? Here's what to do next:

  1. Choose a Markdown Editor
  2. Learn Basic Syntax
  3. Start creating your first Markdown document

Summary

Markdown is a simple, efficient, and elegant text markup language. It allows you to focus on content creation without being bothered by complex formatting. Whether you're a programmer, writer, student, or knowledge worker, Markdown can be your powerful assistant.

Next, let's learn how to choose and use Markdown Editors.

Content is for learning and research only.