Mostra la pàginaRevisions anteriorsQuè hi enllaçaExporta a PDFTorna dalt Aquesta pàgina és només de lectura. Podeu veure'n el codi font, però no podeu canviar-la. Consulteu el vostre administrador si penseu que això és degut a algun error. = markdown {{tag>development addendum}} * tutorial: [[https://www.markdowntutorial.com]] * tutorial: [[https://www.markdownguide.org/]] * [[https://www.markdownguide.org/cheat-sheet/]] * cheat-sheet: [[https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet]] * online: [[https://dillinger.io/]] * docker: [[https://hub.docker.com/r/joemccann/dillinger]] {{ :development:markdown:387590772-markdown-cheatsheet-pdf.pdf |}} /vía: [[https://daringfireball.net/projects/markdown/syntax]]\\ /vía: [[http://desarrollandowebsdinamicas.blogspot.com/2013/03/escribir-archivos-markdown-en-sublime.html]] == cabeceras * ''#'' : H1 * alternativamente, ''====='' por debajo de la línea * ''##'' : H2 * alternativamente, ''-----'' por debajo de la líena * ... * ''######'' : H6 (si, hay 6 #) == estilos * ''_texto_'' : //italic// * ''%%*texto*%%'' énfasis * ''%%**%%texto%%**%%'' : **negrita** * ''%%***%%texto%%***%%'' : **énfasis y negrita** * ''`texto`'' : //monospace// * ''``` bloques de código ```'' : bloques de código (varias líneas) * ''~~texto~~'' : <del>tachado</del> ==enlaces * inline: <code>[El buscador de Google](http://www.google.cat/)</code> * permite italica y negrita * las cabeceras pueden contener enlaces * reference: <code>Here's [a link to something else][another place]. Here's [yet another link][another-link]. And now back to [the first link][another place]. [another place]: www.github.com [another-link]: www.google.com</code> * otro sistema?: <code><http://google.cat></code> * los enlaces a correos son ofuscados? === internos <code>[El texto que quiera](#enlaceinterno) <a name="enlaceinterno"></a>bla-bla-bla</code> * los títulos asocian automaticamente un **name** o **id** (no está claro que) /via: [[https://stackoverflow.com/questions/6695439/how-to-link-to-a-named-anchor-in-multimarkdown]] ==imagenes * imagen //inline// con texto alternativo:<code></code> * imagen //referenciada// con texto alternativo:<code>![The first father][First Father] ![The second first father][Second Father] [First Father]: http://octodex.github.com/images/founding-father.jpg [Second Father]: http://octodex.github.com/images/foundingfather_v2.png</code> == bloques * añadir **>** delante de la línea * para varías líneas en el mismo bloque, añadir tantos **>** como haga falta * se le puede dar estilo == listas * lista ordenada:<code> 1. Texto 1 2. Texto 2</code> * lista desordenada:<code> - texto 1 - texto 2 * texto 1 * texto 2 + texto 1 + texto 2</code> * para crear sublistas indentadas, añadir 1 espacio * para insertar texto entre los elementos de una lista, dejar una línea de separación (entre los párrafos) y alinear el inicio de linea con el carácter de lista: <code>1. Cut the cheese Make sure that the cheese is cut into little triangles. 2. Slice the tomatoes Be careful when holding the knife. For more help on tomato slicing, see Thomas Jefferson's seminal essay _Tom Ate Those_.</code> == parágrafos * salto línea simple : sin efecto * doble salto línea: //hard break// -> sepáración de parágrafos * 2 espacios al final de línea: //soft break// (también para parágrafos en listas) -> salto de línea, mismo parágrafo == línea horizontal * ''%%---%%'' == tablas <code> | Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | $1600 | | col 2 is | centered | $12 | | zebra stripes | are neat | $1 | </code> <code> Markdown | Less | Pretty --- | --- | --- *Still* | `renders` | **nicely** 1 | 2 | 3 </code> * mínimo 3 (como ejemplo 2) * los dos puntos indican la justificación == restos * para insertar código, solo se ha de indentar development/markdown/start.txt Darrera modificació: 17/11/2024 04:58per mate