Loading Page Content...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
As Markdown grew from a small scripting utility in 2004 into the global standard for software documentation, different software programs began implementing their own syntax variations. These variations are known as Markdown Flavors.
To prevent chaos and ensure documents render identically everywhere, formal specifications like CommonMark and GitHub Flavored Markdown (GFM) were established.
John Gruber's original 2004 Markdown specification was ambiguous about edge cases:
Different developers built parsers in Perl, Python, PHP, and JavaScript, each resolving ambiguities differently. A file that looked perfect on one website broke on another.
#), basic lists, blockquotes (>), simple links ([text](url)), and images ().|) and hyphen (-) syntax.- [ ] and - [x]).~~text~~).https://example.com automatically become clickable links without brackets.| Feature | Original Markdown (2004) | CommonMark (2014) | GitHub Flavored Markdown (GFM) | ||
|---|---|---|---|---|---|
| Strict Grammar Spec | No (Ambiguous) | Yes (Formal RFC) | Yes (Extends CommonMark) | ||
| Fenced Code Blocks (```) | No (Indented only) | Yes | Yes | ||
| **Tables (` | ... | `)** | No | No | Yes |
Task Lists (- [x]) | No | No | Yes | ||
Strikethrough (~~) | No | No | Yes | ||
| URL Autolinking | No | No | Yes | ||
Alert Admonitions (> [!NOTE]) | No | No | Yes (GitHub Native) |
For 99% of modern web development, documentation, and technical writing, GitHub Flavored Markdown (GFM) is the industry standard. Nearly all major modern parsers (Remark, MDX, VS Code, Next.js) either support GFM by default or via official plugins.
Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
| Previous Lesson | Next Lesson |
|---|---|
| Introduction to Markdown & Philosophy | Environment & Editor Setup (VS Code, Obsidian, Typora) |
Test your understanding of this lesson with 5 questions. Each question has one correct answer.