NEW
A lightweight markup language for formatting plain-text documents with readable syntax convertible to HTML and other formats.
DESCRIPTION
Markdown provides simple syntax for headings, emphasis, lists, links, images, and code blocks while remaining readable as plain text. It is widely used for READMEs, documentation, note-taking, and static sites. Variants like CommonMark and GitHub Flavored Markdown add standardized or extended features. Tooling such as Pandoc converts Markdown to HTML, PDF, and slides. Its simplicity promotes collaboration and version control.
ALTERNATIVE DEFINITIONS
Daring Fireball
Markdown is a text-to-HTML conversion tool for web writers.
Original description focusing on authoring and HTML conversion.
CommonMark
CommonMark is a rationalized, formal specification of Markdown intended to standardize its syntax and provide a consistent parsing behavior.
Frames Markdown through the lens of a formal, standardized specification.
RELATED TERMS
CommonMark Hypertext Markup Language GitHub Flavored Markdown Lightweight Markup Language Pandoc
COMPETING TERMS
reStructuredText Asciidoc
RELATIONS
- Narrower: R Markdown
KNOWLEDGE AREAS
Platform & Tooling Software Engineering Collaboration Document & Content Management
TARGET AUDIENCE
Software Developer Data Scientist Analytics Engineer BI Specialist Information Analyst
EXTERNAL SOURCES
- Wikipedia - Markdown
- CommonMark - Formal Markdown specification
- Daring Fireball - Original Markdown project page
TOP QUESTIONS
Why is Markdown popular for documentation?
It balances readability and expressiveness, works well with version control, and converts to many formats via tooling like Pandoc.
Category: Relevancy
What is CommonMark in relation to Markdown?
CommonMark is a standardized specification that resolves ambiguities and ensures consistent parsing across implementations.
Category: Standard
How does Markdown compare to reStructuredText?
Markdown is simpler and more ubiquitous; reStructuredText is more feature-rich, often used in Python’s Sphinx ecosystem.
Category: Comparison
What are common extensions to Markdown?
Tables, footnotes, task lists, math (via LaTeX), and syntax highlighting appear in variants like GitHub Flavored Markdown.
Category: Extensions
What are common pitfalls when authoring Markdown?
Relying on non-portable extensions can reduce compatibility; inconsistent linters and renderers cause formatting surprises.
Category: Mistakes
How do you convert Markdown to PDF?
Use Pandoc with LaTeX or HTML-to-PDF tools; ensure themes and assets are configured for consistent styling.
Category: How-to
Can Markdown handle diagrams?
Not natively, but code-fenced diagrams with Mermaid or embedded images are common workarounds.
Category: Usage
Is Markdown a standard?
Original Markdown is informal; CommonMark provides a formal, widely adopted specification.
Category: Standard
Where is Markdown used in data work?
READMEs, Jupyter notebooks, project documentation, runbooks, and change logs frequently use Markdown.
Category: Application