Aquesta és una revisió antiga del document


markdown

  • # : H1
  • ## : H2
  • ###### : H6 (si, hay 6 #)
  • === : ? (resalta la línea de encima)
  • _texto_ : italic
  • **texto** : negrita
  • `texto` : monospace
  • inline:
    [El buscador de Google](http://www.google.cat/)
    • permite italica y negrita
    • las cabeceras pueden contener enlaces
  • reference:
    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
  • otro sistema?:
    <http://google.cat>
  • los enlaces a correos son ofuscados?
  • imagen inline con texto alternativo:
    ![A representation of Octdrey Catburn](http://octodex.github.com/images/octdrey-catburn.jpg)
  • imagen referenciada con texto alternativo:
    ![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
  • 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
  • lista ordenada:
    1. Texto 1
    2. Texto 2
  • lista desordenada:
    - texto 1
    - texto 2
    
    * texto 1
    * texto 2
    
    + texto 1
    + texto 2
  • 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:
    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_.
  • 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
  • para insertar código, solo se ha de indentar
  • development/markdown/start.1533807743.txt.gz
  • Darrera modificació: 09/08/2018 02:42
  • per mate