print("¡Que tal, festival!")¡Que tal, festival!
Quarto is a “publishing system”. Using an enriched markdown format it lets you generate web pages, presentations, blogs and much more. The file format is .qmd.
The following text:
*cursivas*, **negritas**, ***negritas cursivas***,
~~tachado~~, superíndice^2^, subíndice~2~, `verbatim`
will be shown like this:
italics, bold, bold italics,
strikethrough, superscript2, subscript2, verbatim
Very important: You can make a single line break with two blank spaces, or a large line break by separating with 2 lines.
So, for example, the markdown code
Lorem ipsum
es aburrido.
Esta es una nueva línea.
Este es un nuevo párrafo.
will be shown as
Lorem ipsum is boring.
This is a new line.
This is a new paragraph.
The classic convention is used for # Title, ## Subtitle, … , ###### Subsubsubsubsubsub-title,
The following codes let you embed links
The markdown code for images is similar to links, but uses a ! to distinguish them. It is possible to mix them
It is possible to make an image “clickable” by mixing the respective codes:
To include videos you can use the {{< video >}} code:
| Código en Markdown | Output |
|---|---|
|
|
|
|
continues after
|
|
|
|
|
Note that lists need a blank line above the list, otherwise they will not be shown correctly.
Tables follow the classic markdown format, where alignment is defined with :, as the following code shows:
which will be shown like this:
| Derecha | Izquierda | Por Defecto | Centrada |
|---|---|---|---|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
The following link has more information: https://quarto.org/docs/authoring/tables.html.
To delimit code blocks that are shown without being executed you use ```
You can add a language (python, markdown, html, javascript, etc) to correctly highlight the language syntax. So the following code
will look like this:
To delimit code blocks that will be executed, like cells in jupyter notebook/lab, you use curly braces enclosing the language, so for example the following code
which will look like this:
Use $ delimiters for inline equations and $$ delimiters for equations on their own line.
So, for example $E = mc^{2}$ will be shown as \(E=mc^{2}\).
On the other hand, $$ E = mc^{2}$$ will be shown like this \[ E = mc^{2}\]
It is possible to define columns easily, using :::: and :::.
The following code:
:::: {.columns}
::: {.column width="40%"}
Columna izquierda...
:::
::: {.column width="60%"}
Columna derecha
:::
::::
Will be shown like this:
Left column…
Right column
This file is based on https://quarto.org/docs/authoring/markdown-basics.html