Markdown (لغة ترميز خفيفة)
Markdown هي لغة ترميز خفيفة تستخدم صياغة نص عادي لتنسيق المستندات. تُستخدم في ملفات README على GitHub والمدونات التقنية ومنصات التوثيق — وهي الطريقة الفعلية للكتابة التقنية.
نوع MIME
text/markdown
النوع
نص
الضغط
بدون فقدان
المزايا
- + Extremely simple syntax that anyone can learn in minutes
- + Version-control friendly — clean diffs in Git
- + Renders beautifully on GitHub, GitLab, and most platforms
- + Converts easily to HTML, PDF, DOCX, and other formats
العيوب
- − Limited formatting — no native support for tables of contents or footnotes
- − Flavor fragmentation (CommonMark, GFM, MDX) creates inconsistencies
- − No built-in styling — appearance depends on the renderer
متى تستخدم .MD
استخدم Markdown للتوثيق وملفات README والمدونات التقنية وأي كتابة تحتاج تنسيقاً بسيطاً مع سهولة القراءة كنص عادي.
التفاصيل التقنية
ملفات Markdown هي نص عادي بأحرف ترميز: # للعناوين و** للخط العريض و* للمائل و- للقوائم و``` لكتل الكود ونص للروابط. يتم تحويلها إلى HTML للعرض.
التاريخ
أنشأ John Gruber (مع Aaron Swartz) لغة Markdown في عام 2004 كبديل سهل القراءة لـ HTML. ظهرت لاحقاً تنويعات مثل CommonMark (2014) وGitHub Flavored Markdown.
التحويل من .MD
التحويل إلى .MD
صيغ ذات صلة
مصطلحات ذات صلة
Learn More
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
How to Format and Validate JSON Data
Malformed JSON causes silent failures in APIs and configuration files. Learn how to format, validate, and debug JSON documents to …
Regular Expressions: A Practical Guide for Text Processing
Regular expressions are powerful patterns for searching, matching, and transforming text. This guide covers the most useful regex patterns with …
Base64 Encoding: How It Works and When to Use It
Base64 converts binary data into ASCII text, making it safe for transmission through text-based systems. Learn when Base64 is the …
Markdown vs Rich Text vs Plain Text: When to Use Each
Choosing between Markdown, rich text, and plain text affects portability, readability, and editing workflow. This comparison helps you select the …