====== Markdown sintaxis específica de pandoc ====== ===== Títulos ===== # Título 1 ## Título 2 ### Título 3 #### Título 4 ##### Título 5 ###### Título 6 ===== Formateado de texto ===== * Texto normal * *prueba énfasis* * _prueba énfasis_ * **prueba negrita** * __prueba negrita__ * ***prueba negrita+énfasis*** * ''Esto es un parrafo en monospace''. * ~~tachado~~ * subrayado Esto es codigo * Texto normal * *prueba énfasis* * _prueba énfasis_ * **prueba negrita** * __prueba negrita__ * ***prueba negrita+énfasis*** * ''Esto es un parrafo en monospace''. * ~~tachado~~ * subrayado Esto es codigo ===== Párrafos ===== Esto es un parrafo normal y corriente. Esto es un parrafo normal y corriente. Esto es un parrafo normal y corriente. Esto es un parrafo normal y corriente. Separación por una línea en blanco. Esto es un parrafo dividido,\ -- con \\ -- al final de linea. Esto es un parrafo dividido,\ *- con \\ -- al final de linea. ===== Codigo HTML insertado ===== For any markup that is not covered by Markdown’s syntax, you simply use HTML itself. There’s no need to preface it or delimit it to indicate that you’re switching from Markdown to HTML; you just use the tags. The only restrictions are that block-level HTML elements (div, table, pre, p), etc. must be separated from surrounding content by blank lines, and the start and end tags of the block should not be indented with tabs or spaces. Markdown is smart enough not to add extra (unwanted) ''
'' tags around HTML block-level
tags.
texto resaltado
texto resaltado
For example, to add an HTML table to a Markdown article:
| Foo | Foo | Foo |
| Foo | Foo | Foo |
prueba prueba
prueba prueba
==== Código inline. ====
This is normal text and code. ''# perl -e ' print " ok "''' Normal text again.
This is normal text and code. ''# perl -e ' print " ok "''' Normal text again.
===== Listas =====
No ordenadas: Usando *, + ó - como prefijo.
Ordenadas: Usando un número (cualquiera) y un punto como prefijo.
List items may consist of multiple paragraphs. Each subsequent paragraph in a
list item must be indented by either 4 spaces or one tab:
* This is a list item with two paragraphs. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet
vitae, risus. Donec sit amet nisl. Aliquam semper ipsum
sit amet velit.
* Suspendisse id sem consectetuer libero luctus adipiscing.
* lista
* subnivel de lista
- subnivel de lista
* lista
==== The four-space rule ### ====
A list item may contain multiple paragraphs and other block-level
content. However, subsequent paragraphs must be preceded by a blank line
and indented four spaces or a tab. The list will look better if the first
paragraph is aligned with the rest:
* First paragraph.
Continued.
* Second paragraph. With a code block, which must be indented
eight spaces:
{ code }
List items may include other lists. In this case the preceding blank
line is optional. The nested list must be indented four spaces or
one tab:
* fruits
+ apples
- macintosh
- red delicious
+ pears
+ peaches
* vegetables
+ broccoli
+ chard
As noted above, Markdown allows you to write list items "lazily," instead of
indenting continuation lines. However, if there are multiple paragraphs or
other blocks in a list item, the first line of each must be indented.
+ A lazy, lazy, list
item.
+ Another one; this looks
bad but is legal.
Second paragraph of second
list item.
**Note:** Although the four-space rule for continuation paragraphs
comes from the official [Markdown syntax guide], the reference implementation,
''Markdown.pl'', does not follow it. So pandoc will give different results than
''Markdown.pl'' when authors have indented continuation paragraphs fewer than
four spaces.
The [Markdown syntax guide] is not explicit whether the four-space
rule applies to *all* block-level content in a list item; it only
mentions paragraphs and code blocks. But it implies that the rule
applies to all block-level content (including nested lists), and
pandoc interprets it that way.
[Markdown syntax guide]:
http://daringfireball.net/projects/markdown/syntax#list
===== Tabla =====
===== Definition List =====
Apple
: Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
: An american computer company.
: A pp less/equal.
Orange
: The fruit of an evergreen tree of the genus Citrus.
: Telecommunications company.
: Holland football national team color.
Apple
: Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
: An american computer company.
: A pp less/equal.
Orange
: The fruit of an evergreen tree of the genus Citrus.
: Telecommunications company.
: Holland football national team color.
===== FootNote =====
Here is some text containing a footnote.[^samplefootnote].
Esta es otra nota[^nota], y ésta es otra[^notita].
Here is some text containing a footnote.[^somesamplefootnote].
Esta es otra nota[^notaut], y ésta es otra[^nota4].
Las notas se definen de la siguiente manera:
[\^somesamplefootnote]: Here is the text of the footnotes. It can be placed
anywhere in the text. It will be rendered at the end of the document.
[\^notaut]: Ut queant laxus, resonare fibris.
[\^nota4]: El feliz murciélago comía cardillo y kiwi. El feliz murciélago
comía cardillo y kiwi. El feliz murciélago comía cardillo y kiwi.El feliz
murciélago comía cardillo y kiwi.
[^somesamplefootnote]: Here is the text of the footnotes. It can be placed
anywhere in the text. It will be rendered at the end of the document.
[^notaut]: Ut queant laxus, resonare fibris.
[^nota4]: El feliz murciélago comía cardillo y kiwi. El feliz murciélago
comía cardillo y kiwi. El feliz murciélago comía cardillo y kiwi.El feliz
murciélago comía cardillo y kiwi.
===== Horizontal Rules =====
Three or more dashes or asterisks:
*---
*---
- - - -
*---
===== Enlaces. =====
==== Enlace simple. ====
[[http://www.google.es "Texto de ayuda al pasar el cursor"|Google]]
[[http://www.google.es|Google]]
==== Otra forma de poner enlaces simples. Poniendolos entre '<' y '>'. ====
simple link:
{ } { WARNING>} { DELETE>} { NOTE>} { OK>} { NOOK>} { :-)>} { :-(>}
{ VIP} { WARNING} { DELETE} { NOTE} { OK} { NOOK} { :-)} { :-(}
Texto insertado por ''prepandoc'':
Imágenes resultantes:
{