Skip to content

Commit a197bea

Browse files
committed
Omit quotes in YAML
1 parent c1d9162 commit a197bea

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

docs/get-started/computations/_positron/python/computations-complete.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Quarto Computations"
2+
title: Quarto Computations
33
echo: false
44
fig-height: 3.5
55
fig-width: 6
@@ -21,8 +21,8 @@ Additionally, mileage is higher for cars with fewer cylinders.
2121
#| echo: true
2222
#| code-fold: true
2323
#| code-line-numbers: true
24-
#| fig-cap: "City and highway mileage for 38 popular models of cars."
25-
#| fig-alt: "Scatterplot of city vs. highway mileage for cars, where points are colored by the number of cylinders. The plot displays a positive, linear, and strong relationship between city and highway mileage, and mileage increases as the number of cylinders decreases."
24+
#| fig-cap: City and highway mileage for 38 popular models of cars.
25+
#| fig-alt: Scatterplot of city vs. highway mileage for cars, where points are colored by the number of cylinders. The plot displays a positive, linear, and strong relationship between city and highway mileage, and mileage increases as the number of cylinders decreases.
2626
(
2727
ggplot(mpg, aes(x="hwy", y="cty", color="cyl"))
2828
+ geom_point(alpha=0.5, size=2)

docs/get-started/computations/_positron/python/computations.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Quarto Computations"
2+
title: Quarto Computations
33
---
44

55
This dataset contains a subset of the fuel economy data from the EPA.

docs/get-started/computations/_positron/r/computations-complete.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Quarto Computations"
2+
title: Quarto Computations
33
echo: false
44
fig-height: 3.5
55
fig-width: 6
@@ -20,8 +20,8 @@ Additionally, mileage is higher for cars with fewer cylinders.
2020
#| echo: true
2121
#| code-fold: true
2222
#| code-line-numbers: true
23-
#| fig-cap: "City and highway mileage for 38 popular models of cars."
24-
#| fig-alt: "Scatterplot of city vs. highway mileage for cars, where points are colored by the number of cylinders. The plot displays a positive, linear, and strong relationship between city and highway mileage, and mileage increases as the number of cylinders decreases."
23+
#| fig-cap: City and highway mileage for 38 popular models of cars.
24+
#| fig-alt: Scatterplot of city vs. highway mileage for cars, where points are colored by the number of cylinders. The plot displays a positive, linear, and strong relationship between city and highway mileage, and mileage increases as the number of cylinders decreases.
2525
ggplot(mpg, aes(x = hwy, y = cty, color = cyl)) +
2626
geom_point(alpha = 0.5, size = 2) +
2727
scale_color_viridis_c() +

docs/get-started/computations/_positron/r/computations.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Quarto Computations"
2+
title: Quarto Computations
33
---
44

55
This dataset contains a subset of the fuel economy data from the EPA.

docs/get-started/computations/positron.qmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ To do so, specify `echo: false` in document header.
133133
134134
``` yaml
135135
---
136-
title: "Quarto Computations"
136+
title: Quarto Computations
137137
echo: false
138138
---
139139
```
@@ -330,8 +330,8 @@ Code cell options provide additional control over how figures are displayed.
330330
For example, update the code cell for the scatter plot by adding a caption with `fig-cap`, and improve accessability by adding [alternative text](https://medium.com/nightingale/writing-alt-text-for-data-visualization-2a218ef43f81) with `fig-alt`:
331331

332332
```yml
333-
#| fig-cap: "City and highway mileage for 38 popular models of cars."
334-
#| fig-alt: "Scatterplot of city vs. highway mileage for cars, where points are colored by the number of cylinders. The plot displays a positive, linear, and strong relationship between city and highway mileage, and mileage increases as the number of cylinders decreases."
333+
#| fig-cap: City and highway mileage for 38 popular models of cars.
334+
#| fig-alt: Scatterplot of city vs. highway mileage for cars, where points are colored by the number of cylinders. The plot displays a positive, linear, and strong relationship between city and highway mileage, and mileage increases as the number of cylinders decreases.
335335
```
336336

337337
To [cross-reference](/docs/authoring/cross-references.qmd#computations) a figure replace the `label` with one that that starts with `fig-`:
@@ -364,7 +364,7 @@ You can control the size of all the figures in the document by setting `fig-widt
364364

365365
``` yaml
366366
---
367-
title: "Quarto Computations"
367+
title: Quarto Computations
368368
echo: false
369369
fig-height: 3.5
370370
fig-width: 6

docs/get-started/hello/_positron/python/hello.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Hello, Quarto"
2+
title: Hello, Quarto
33
format: html
44
---
55

docs/get-started/hello/_positron/r/hello.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Hello, Quarto"
2+
title: Hello, Quarto
33
format: html
44
---
55

docs/get-started/hello/positron.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ At the top of the file is the document header demarcated by three dashes (`---`)
177177
178178
``` yaml
179179
---
180-
title: "Hello, Quarto"
180+
title: Hello, Quarto
181181
format: html
182182
---
183183
```

0 commit comments

Comments
 (0)