Chuleta de Markdown
NUEVOChuleta de Markdown con la sintaxis de títulos, negrita, listas, enlaces, imágenes, código, tablas, listas de tareas y extras de GitHub. Con buscador y copia con un clic. La sintaxis se muestra en inglés.
Funciona al 100 % en tu navegador — lo que introduces nunca se sube ni se guarda en nuestros servidores.
68 entradas en 12 secciones
Headings
Leave a space after the # characters. One # is the biggest heading, six are the smallest.
# Heading 1Top-level heading (an <h1>).
## Heading 2Second-level heading, used for main sections.
### Heading 3Third-level heading, used for subsections.
###### Heading 6Smallest heading level.
Heading 1 =========Alternative (setext) style: a line of = under the text makes a level 1 heading.
Heading 2 ---------Alternative (setext) style: a line of - under the text makes a level 2 heading.
Emphasis
**bold**Renders the text in bold.
__bold__Also bold, using underscores.
*italic*Renders the text in italics.
_italic_Also italic, using underscores.
***bold and italic***Renders the text in bold italics.
**bold with _nested italic_**Emphasis can be nested: bold text with an italic part inside.
Paragraphs & line breaks
First paragraph. Second paragraph.A blank line starts a new paragraph.
Line one Line twoTwo spaces at the end of a line force a line break inside the paragraph.
Line one\ Line twoA backslash at the end of a line also forces a break (CommonMark; not every renderer supports it).
Lists
- Item one - Item twoUnordered (bulleted) list with hyphens.
* Item one * Item twoUnordered list with asterisks; + works too. Do not mix markers in one list.
1. First 2. Second 3. ThirdOrdered (numbered) list.
1. First 1. Second 1. ThirdNumbers are re-counted when rendered, so using 1. for every item still shows 1, 2, 3.
5. Fifth 6. SixthAn ordered list starts at the first number you give it.
- Parent - Child - GrandchildIndent by two spaces (or four) to nest a list inside a list item.
1. Step one - detail A - detail BNest a bulleted list inside a numbered item by indenting under the item text.
- Item Second paragraph in the same item.Indent a paragraph under a list item to keep it part of that item.
Links & images
[link text](https://example.com)Inline link with visible text.
[link text](https://example.com "Tooltip title")Link with a title that browsers show as a tooltip.
<https://example.com>Link whose visible text is the URL itself.
<[email protected]>Clickable email address.
[link text][docs] [docs]: https://example.com/docsReference-style link: define the URL once, reuse the label anywhere.
[Jump to section](#heading-text)Link to a heading on the same page (the id is the lowercase heading with hyphens; exact rules vary by renderer).
Embeds an image; the alt text is shown when the image cannot load and read by screen readers.
Image with a title tooltip.
[](https://example.com)An image that is also a link (common for badges).
Code
`inline code`Renders a short piece of code in monospace inside a sentence.
``code with a `backtick` inside``Use double backticks as delimiters when the code itself contains a backtick.
``` plain code block ```Fenced code block with no syntax highlighting.
```js console.log("hi"); ```Fenced code block with a language name for syntax highlighting.
~~~ code block with tildes ~~~Tildes work as a fence too, handy when the code contains triple backticks.
indented codeIndenting a block by four spaces (or one tab) also makes a code block.
Blockquotes
> A quoted lineRenders an indented quotation.
> First paragraph > > Second paragraphA quote with several paragraphs: keep a > on the blank line.
> Outer >> NestedAdd a second > to nest a quote inside a quote.
> **Tip** > - item one > - item twoOther Markdown, such as bold text and lists, works inside a quote.
Tables (GitHub-flavoured)
Tables are not in original Markdown, but GitHub, GitLab and most modern renderers support them.
| Name | Role | | --- | --- | | Ada | Dev |Basic table: a header row, a separator row of dashes, then body rows.
| Left | Center | Right | | :--- | :---: | ---: | | a | b | c |Colons in the separator row set column alignment: left, centered, right.
| Expression | Meaning | | --- | --- | | `a \| b` | A pipe inside a cell |Escape a pipe character inside a cell with a backslash.
Task lists & horizontal rules
- [ ] Write docs - [x] Fix bugTask list: an empty box for open items and [x] for done items (GitHub-flavoured).
---Horizontal rule. Put a blank line above it, or it turns the previous line into a heading.
***Horizontal rule using asterisks.
___Horizontal rule using underscores.
Escaping characters
A backslash in front of a Markdown character shows it literally.
\*not italic\*Shows the asterisks instead of making the text italic.
\# not a headingShows a # at the start of a line without making a heading.
1\. not a listStops "1." from turning into a numbered list.
\[not a link\](x)Shows the brackets and parentheses as plain text.
\\Shows a single backslash.
© <div>HTML entities work in most renderers: shows © and <div>.
GitHub-flavoured extras
Supported on GitHub and many other platforms, but not part of the original Markdown spec.
~~strikethrough~~Renders the text with a line through it.
Text with a note[^1] [^1]: The footnote text.Footnote: a numbered marker in the text and the note collected at the bottom of the page.
https://example.comBare URLs are turned into links automatically (autolink).
> [!NOTE] > Useful extra information.GitHub alert block; other types are TIP, IMPORTANT, WARNING and CAUTION.
@usernameOn GitHub, mentions a user and notifies them.
#123On GitHub, links to issue or pull request number 123 in the same repository.
:rocket:Emoji shortcode that GitHub renders as 🚀.
HTML inside Markdown
Most renderers let raw HTML through, but some platforms strip tags for safety.
<kbd>Ctrl</kbd> + <kbd>C</kbd>Shows keyboard-key styling.
<br>Inserts a line break wherever you need one.
H<sub>2</sub>O and x<sup>2</sup>Subscript and superscript text.
<details> <summary>Click to expand</summary> Hidden **Markdown** content. </details>Collapsible section; keep the blank lines so Markdown inside is still processed.
<img src="logo.png" alt="Logo" width="120">Image with a fixed width, which plain Markdown images cannot set.
<!-- a comment -->Comment that is not shown in the rendered page.
Ejemplos rápidos
Entradas típicas y los resultados que produce esta herramienta.
Descripción general
Markdown es un formato de texto plano que se convierte en HTML con formato y se usa en archivos README, documentación, herramientas de chat y sitios estáticos. Esta chuleta de Markdown reúne la sintaxis que más necesitas: títulos, negrita y cursiva, listas, enlaces, imágenes, bloques de código, citas, tablas y listas de tareas.
También cubre el escape de caracteres especiales, el HTML dentro de Markdown y los extras de GitHub, como el tachado, las notas al pie y las alertas, con una indicación cuando no forman parte de la especificación original. Cada fila muestra la sintaxis y lo que produce. Filtra la lista y copia un fragmento con un clic.
La sintaxis, los fragmentos y sus descripciones breves se muestran en inglés; solo la interfaz y el texto de la página están traducidos. La página es texto plano, así que carga rápido y nada de lo que escribes se envía a ningún sitio.
¿Por qué usar esta herramienta?
- Consulta la sintaxis de Markdown sin salir de la página
- La sintaxis básica y los extras de GitHub están claramente separados
- Los fragmentos de varias líneas se copian tal como están escritos
- Filtra por una palabra clave como table o footnote
- Página de texto plano que carga rápido
Funciones
Filtro en vivo
Escribe una palabra clave para ver solo la sintaxis y las secciones que coinciden.
Copia por fragmento
Cada fila tiene un botón Copiar que conserva los saltos de línea y la sangría.
Básico y extras
El Markdown original está separado de las ampliaciones de GitHub.
Tablas y listas de tareas
Incluye la alineación de columnas, las barras verticales escapadas y la sintaxis de casillas.
Escape y HTML
Muestra caracteres especiales tal cual y usa HTML donde Markdown no tiene sintaxis.
Apta para móvil
Los fragmentos largos se ajustan a la línea, así que las filas se leen bien en un teléfono.
Cómo se usa
Elige una sección
Desplázate hasta Headings, Lists, Links, Code, Tables u otro grupo (los títulos de sección están en inglés).
O usa el filtro
Escribe una palabra como «table» o «image» en el cuadro «Filtrar esta chuleta».
Lee qué produce
Cada sintaxis tiene una descripción de una línea, en inglés, del resultado.
Copia y pega
Pulsa Copiar y pega el fragmento en tu README o editor; después edita el texto.