Markdown
Markdown es un lenguaje de marcado ligero que utiliza sintaxis de formato de texto plano (encabezados con #, negrita con **, listas) para crear documentos estructurados. Se convierte fácilmente a HTML, PDF y otros formatos.
Tipo MIME
text/markdown
Tipo
Texto
Compresión
Sin pérdida
Ventajas
- + 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
Desventajas
- − 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
Cuándo usar .MD
Usa Markdown para documentación, archivos README, entradas de blog, notas y cualquier contenido que necesite formato básico con máxima portabilidad.
Detalles técnicos
Los archivos Markdown son texto plano que usa símbolos como # para encabezados, * para énfasis, ``` para bloques de código e hipervínculos. Los analizadores (CommonMark, markdown-it) convierten Markdown a un árbol AST y luego a HTML. Las extensiones añaden tablas, notas al pie y diagramas.
Historia
John Gruber creó Markdown en 2004 junto con Aaron Swartz, buscando un formato que fuera legible como texto plano y pudiera convertirse a HTML. CommonMark (2014) y GitHub Flavored Markdown (GFM) añadieron estandarización.
Convertir desde .MD
Convertir a .MD
Formatos relacionados
Términos relacionados
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 …