```{.c filename="main.c"} #include <stdio.h> int main() { printf("Hello, world!\n"); return(0); } ```
:::{.callout-note} This is a note. :::
:::{.callout-tip} This is a tip. :::
:::{.callout-warning} This is a warning. :::
:::{.callout-caution} This is a caution. :::
:::{.callout-important} This is important! :::
[This text is smallcaps]{.smallcaps}
[This text is underlined]{.underline}
[This text is highlighted]{.mark}
Quarto has native support for embedding Mermaid and Graphviz diagrams. This enables you to create flowcharts, sequence diagrams, state diagrams, Gantt charts, and more using a plain text syntax inspired by markdown.
For example, here we embed a flowchart created using Mermaid:
```{mermaid} flowchart LR A[Hard edge] --> B(Round edge) B --> C{Decision} C --> D[Result one] C --> E[Result two] ```
inline math: $E = mc^{2}$
display math:
$$E = mc^{2}$$
```{=html} <iframe src="https://quarto.org/" width="500" height="400"></iframe> ```
{{< video https://www.youtube.com/embed/wo9vZccmqwc >}}