Marcelliniโ€™s Blog
  • Home
  • ๐Ÿงญ Explore
    • ๐Ÿท๏ธ Tags
    • ๐Ÿ“‚ Categories
  • ๐Ÿง  Exact Sciences
    • ๐Ÿงฎ Mathematics
    • ๐Ÿ“Š Statistics
    • ๐Ÿ”ญ Physics
    • ๐Ÿ’ป Programming
  • ๐Ÿ“ Personal Blog
    • ๐Ÿ“ Personal Blog
    • ๐Ÿ‘ค About Me and the Blog
  • ๐Ÿ“˜ Courses
    • ๐Ÿงฎ Math Courses
    • ๐Ÿ“Š Statistics Courses
  • ๐Ÿ—บ๏ธ Site Map
  • PT ๐Ÿ‡ง๐Ÿ‡ท
  • Contact

On this page

  • ๐Ÿ“˜ ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ“„ Quarto Markdown Template โ€“ Part 2
    • ๐Ÿ”ท ๐Ÿ“„ What is Quarto Markdown?
    • ๐Ÿ”ท ๐Ÿ” Comparing: Traditional Markdown vs Quarto Markdown
    • ๐Ÿ”ท ๐Ÿงช Markdown Syntax with Quarto
      • ๐Ÿ”ท ๐Ÿ“Œ Headings
  • Level 1 Heading
    • Level 2 Heading
      • Level 3 Heading
      • ๐Ÿ”ท โœ๏ธ Emphasis
      • ๐Ÿ”ท ๐Ÿงพ Blockquote
      • ๐Ÿ”ท ๐Ÿ“‹ Lists
      • ๐Ÿ”ท ๐Ÿ”— Links and ๐Ÿ“ท Images
      • ๐Ÿ”ท ๐Ÿ“Š Tables
      • ๐Ÿ”ท ๐Ÿงฎ Equations with LaTeX
      • ๐Ÿ”ท Emojis
      • ๐Ÿ”ท ๐Ÿง‘โ€๐Ÿ’ป Code Blocks
      • ๐Ÿ”ท ๐Ÿ’ป Displaying Code without Execution in Quarto
      • ๐Ÿ”ท ๐Ÿ’ก Callouts (Highlight Boxes)
    • ๐Ÿ”ท โœ… Conclusion
  • ๐Ÿ”— Useful Links

๐Ÿ“˜ ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ“„ Quarto Markdown Template โ€“ Part 2

programming
Quarto
article
Quarto Markdown is a powerful extension of the Markdown language, developed to create high-quality scientific and technical documents.
Author

Blog do Marcellini

Published

July 28, 2025


โ† Back to the Programming Reading Guide ๐Ÿ‘จโ€๐Ÿ’ป

โ† Back to the Quarto Section ๐Ÿ“„

โ† Back to the Programming Section ๐Ÿ‘จโ€๐Ÿ’ป


Quarto

๐Ÿ“˜ ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ“„ Quarto Markdown Template โ€“ Part 2

Quarto Markdown is a powerful extension of the Markdown language, developed to create high-quality scientific and technical documents.

๐Ÿ”ท ๐Ÿ“„ What is Quarto Markdown?

Quarto Markdown is a powerful evolution of traditional Markdown, designed especially for scientific and technical communication. It allows you to integrate:

  • Formatted text (with Markdown),
  • Executable code in Python, R, Julia, Observable,
  • Charts, tables, and equations with LaTeX,
  • And the generation of documents in multiple formats.

With Quarto, you can generate:

  • Interactive HTML pages
  • Editorial-quality PDF documents
  • EPUB eBooks
  • Presentations in Reveal.js or Beamer
  • Websites, blogs, and much more

๐Ÿ”ท ๐Ÿ” Comparing: Traditional Markdown vs Quarto Markdown

Feature Markdown (.md) Quarto (.qmd)
Basic formatting โœ… โœ…
HTML support โœ… โœ…
LaTeX equations โŒ (limited) โœ… (full)
Executable code blocks โŒ โœ… (Python, R, Julia, etc.)
PDF/EPUB/Slides generation โŒ โœ…
YAML support Limited โœ… (for metadata and project configuration)
Target audience General Scientists, educators, engineers, etc.

โœ… Summary: Traditional Markdown is great for simple blogs and notes.
Quarto Markdown, however, is ideal for technical and scientific projects with code, math, and visualizations.


๐Ÿ”ท ๐Ÿงช Markdown Syntax with Quarto

๐Ÿ”ท ๐Ÿ“Œ Headings

# Level 1 Heading
## Level 2 Heading
### Level 3 Heading
  • Preview:

Level 1 Heading

Level 2 Heading

Level 3 Heading

๐Ÿ”ท โœ๏ธ Emphasis

**bold**, *italic*, ***bold and italic***
  • Preview:

bold, italic, bold and italic

๐Ÿ”ท ๐Ÿงพ Blockquote

> Mathematics is the language in which God has written the universe. โ€” Galileo
  • Preview:

Mathematics is the language in which God has written the universe. โ€” Galileo


๐Ÿ”ท ๐Ÿ“‹ Lists

๐Ÿ”ท Bulleted list

- Item A
- Item B
  - Subitem B.1
  • Preview:

  • Item A

  • Item B

    • Subitem B.1

๐Ÿ”ท Numbered list

1. First
2. Second
  • Preview:
  1. First
  2. Second

๐Ÿ”ท ๐Ÿ”— Links and ๐Ÿ“ท Images

[Quarto](https://quarto.org)

![Example](../images/exemplo.png){width=80%}
  • Preview:

Quarto

Example

๐Ÿ”ท ๐Ÿ“Š Tables

| Name     | Age | City    |
|----------|-----|---------|
| Ana      | 25  | Recife  |
| Bruno    | 30  | Natal   |
  • Preview:
Name Age City
Ana 25 Recife
Bruno 30 Natal

๐Ÿ”ท ๐Ÿงฎ Equations with LaTeX

๐Ÿ”ท Inline

The famous Eulerโ€™s identity: $e^{i\pi} + 1 = 0$
  • Preview:

The famous Eulerโ€™s identity: \(e^{i\pi} + 1 = 0\)

๐Ÿ”ท Block

$$
\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$
  • Preview:

\[ \int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2} \]


๐Ÿ”ท Emojis

Use them to make your posts more visual and organized!

๐Ÿท๏ธ Emojis for Tags and Categories

๐Ÿท๏ธ Tags in general
๐Ÿ“š Category: Education
๐Ÿง  Category: Science / Knowledge
๐Ÿงฎ Category: Mathematics
๐Ÿ“ˆ Category: Statistics
๐Ÿ”ฌ Category: Physics
๐Ÿงช Category: Chemistry
๐Ÿ’ป Category: Computing
๐Ÿ“Š Category: Data Analysis
๐Ÿ“ฆ Category: Packages / Libraries
๐Ÿงฐ Category: Tools
๐ŸŒ Category: Web / Internet
๐Ÿ“ Category: Tutorials
๐Ÿ”ง Category: Technical Tips
๐ŸŽ“ Category: Courses
๐Ÿš€ Category: Projects
๐Ÿ“ฐ Category: News

๐ŸŽ“ Education & Learning

๐Ÿ“š Book
๐Ÿง  Brain
โœ๏ธ Pencil
๐Ÿ“– Reading
๐Ÿซ School
๐Ÿ“ Notes
๐Ÿ“Š Presentation
๐ŸŽฏ Goal

๐Ÿ’ป Computing & Technology

๐Ÿ’ป Computer
๐Ÿ–ฅ๏ธ Monitor
๐Ÿ“ฑ Cell phone
โŒจ๏ธ Keyboard
๐Ÿ–ฑ๏ธ Mouse
โš™๏ธ Gear
๐Ÿ”ง Tool
๐Ÿ”’ Lock
๐Ÿงฎ Abacus

๐Ÿ“Š Statistics & Data

๐Ÿ“Š Bar chart
๐Ÿ“ˆ Increasing chart
๐Ÿ“‰ Decreasing chart
๐Ÿ“‹ Table
๐Ÿ”ข Numbers
๐Ÿงฎ Calculation
๐Ÿ—ƒ๏ธ Data file

๐Ÿงฎ Mathematics

โž• Addition
โž– Subtraction
โœ–๏ธ Multiplication
โž— Division
โˆš Square root
โˆ‘ Summation (LaTeX: $\sum$)
โˆซ Integral (LaTeX: $\int$)
โˆž Infinity (LaTeX: $\infty$)
๐Ÿ“ Ruler and set square
๐Ÿ“ Ruler
๐ŸŽฒ Probability

๐Ÿงช Science & Experiments

๐Ÿงช Test tube
๐Ÿ”ฌ Microscope
โš—๏ธ Lab flask
๐Ÿงซ Petri dish
๐ŸŒก๏ธ Thermometer
๐Ÿงฌ DNA
๐Ÿš€ Rocket
๐Ÿงฒ Magnet
๐ŸŒŒ Universe

๐Ÿ“† Time & Organization

๐Ÿ•’ Clock
๐Ÿ“… Calendar
โณ Hourglass
๐Ÿ“Œ Pin
๐Ÿ—“๏ธ Planner
๐Ÿ—‚๏ธ Folders
๐Ÿ“ฆ File

๐ŸŒ Location & Navigation

๐ŸŒ Globe
๐Ÿงญ Compass
๐Ÿ“ Location marker
๐Ÿ—บ๏ธ Map

๐Ÿ”ฅ Emojis for Highlighting

๐Ÿ’ก Tip
โ— Important
โœ… Completed
โ“ Question
โš ๏ธ Attention
๐Ÿ› ๏ธ Under construction
โฑ๏ธ Stopwatch
๐Ÿ“ข Announcement
๐Ÿ” Observation
๐Ÿ”Ž Details

๐ŸŽ‰ Engagement Emojis

๐Ÿš€ Letโ€™s get started!
๐ŸŽ‰ Congratulations!
๐Ÿ‘ Well done!
๐Ÿค Teamwork
๐Ÿค” Reflect on this
๐Ÿ™Œ Success!
๐Ÿ” Repeat
๐Ÿ”„ Refresh
๐Ÿ’ฌ Comment


๐Ÿ”ท ๐Ÿง‘โ€๐Ÿ’ป Code Blocks

๐Ÿ”ท Python

import numpy as np
import matplotlib.pyplot as plt

x = np.linspace(0, 2*np.pi, 100)
plt.plot(x, np.sin(x))
plt.title("Sine Function")
plt.show()


๐Ÿ”ท R

x <- seq(0, 2*pi, length.out = 100)
plot(x, sin(x), type = "l", col = "blue", lwd = 2)


๐Ÿ”ท ๐Ÿ’ป Displaying Code without Execution in Quarto

In this example, we show a way to display Python code statically, that is, without executing it.


๐Ÿ”ท โœ… Static Code in python

::: {.callout-note collapse=true title="๐Ÿ’ก Title: Static code with syntax highlighting (collapsed content)"}

```python
# Example of circle area calculation
import math

raio = 5
area = math.pi * raio**2
print(f"The circle area is {area:.2f}")
```

:::

Visualization:

Note๐Ÿ’ก Title: Static code with syntax highlighting (collapsed content)
# Example of circle area calculation
import math

raio = 5
area = math.pi * raio**2
print(f"The circle area is {area:.2f}")

๐Ÿ”ท ๐Ÿ’ก Callouts (Highlight Boxes)

Quarto provides callouts to highlight important information:

๐Ÿ”ท ๐Ÿ”” Note

::: {.callout-note}
This is an informational note.
:::
  • Visualization:
Note

This is an informational note.


๐Ÿ”ท ๐Ÿ’ก Tip

::: {.callout-tip}
Tip: use `{.callout-tip}` for best practices.
:::
  • Visualization:
Tip

Tip: use {.callout-tip} for best practices.


๐Ÿ”ท โš ๏ธ Warning

::: {.callout-warning}
Warning: make sure the code is properly indented.
:::
  • Visualization:
Warning

Warning: make sure the code is properly indented.


๐Ÿ”ท ๐Ÿšซ Caution

::: {.callout-caution}
Caution: changes in `.qmd` files may overwrite generated `.md` files.
:::
  • Visualization:
Caution

Caution: changes in .qmd files may overwrite generated .md files.


๐Ÿ”ท ๐Ÿ“ฃ Important

::: {.callout-important}
Important: Quarto replaces RMarkdown with more modern features!
:::
  • Visualization:
Important

Important: Quarto replaces RMarkdown with more modern features!


๐Ÿ”ท โœ… Conclusion

Quarto Markdown is the ideal solution for producing reproducible, beautiful, and interactive documents, combining code, mathematics, and explanations.

Explore more!


โ† Back to the Programming Reading Guide ๐Ÿ‘จโ€๐Ÿ’ป

โ† Back to the Quarto Section ๐Ÿ“„

โ† Back to the Programming Section ๐Ÿ‘จโ€๐Ÿ’ป


๐Ÿ” Back to Top


Blog do Marcellini โ€” Exploring Mathematics, Statistics, and Physics with Rigor and Beauty.

Note

Created by Blog do Marcellini with โค๏ธ and code.

๐Ÿ”— Useful Links

  • ๐Ÿง‘โ€๐Ÿซ About the Blog
  • ๐Ÿ’ป Project GitHub
  • ๐Ÿ“ฌ Contact via E-mail

ยฉ 2025 - Marcelliniโ€™s Blog

 

๐Ÿ“ฌ Contact via Email
๐Ÿ’ป GitHub Repository