Skip to content

Commit 9f03e32

Browse files
committed
Draft post
1 parent 3204a66 commit 9f03e32

File tree

3 files changed

+159
-16
lines changed

3 files changed

+159
-16
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Run using `quarto run get-contribs.R`
2+
3+
library(tidyverse)
4+
library(gh)
5+
library(glue)
6+
7+
last_release <- "2024-07-01T00:00:00Z"
8+
milestone <- "v1.6"
9+
10+
quarto_staff_vec <-
11+
c("allenmanning", "cderv", "cscheid", "cwickham", "dragonstyle",
12+
"jjallaire", "jooyoungseo", "kevinushey", "mcanouil",
13+
"rich-iannone", "gordonwoodhull", "tarleb", "mine-cetinkaya-rundel")
14+
15+
# Get milestone number -----
16+
17+
milestones <- gh("/repos/{owner}/{repo}/milestones",
18+
owner = "quarto-dev",
19+
repo = "quarto-cli")
20+
21+
milestone_number <- map_int(milestones, "number")[map_chr(milestones, "title") == milestone]
22+
23+
# Get cli issues tagged with current milestone -----
24+
25+
quarto_issues <-
26+
gh(
27+
endpoint = "/repos/quarto-dev/quarto-cli/issues",
28+
.limit = 2000,
29+
.progress = FALSE,
30+
.params = list(
31+
state = "all",
32+
milestone = milestone_number
33+
)
34+
)
35+
36+
quarto_issues_tbl <- map(quarto_issues, \(x) data.frame(login = x$user$login, html_url = x$user$html_url)) |>
37+
list_rbind()
38+
39+
# Get web issues since last release -----
40+
41+
quarto_web_issues <-
42+
gh(
43+
endpoint = "/repos/quarto-dev/quarto-web/issues",
44+
.limit = 1500,
45+
.progress = FALSE,
46+
.params = list(
47+
state = "all",
48+
since = last_release
49+
)
50+
)
51+
52+
quarto_web_issues_tbl <- map(quarto_web_issues, \(x) data.frame(login = x$user$login, html_url = x$user$html_url)) |>
53+
list_rbind()
54+
55+
# Put together, exclude staff and write to file -----
56+
57+
cli_and_web_users <- bind_rows(quarto_web_issues_tbl, quarto_issues_tbl) |>
58+
filter(!(login %in% quarto_staff_vec)) |>
59+
arrange(login) |>
60+
distinct()
61+
62+
cli_and_web_users |>
63+
glue_data("[{login}]({html_url})") |>
64+
write_lines("_contribs.md")
65+
Lines changed: 94 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,94 @@
11
---
2-
title: Quarto 1.6
2+
title: Quarto 1.6
33
description: |
4-
Quarto 1.6 ...
4+
Quarto 1.6 supports unified branding across formats, updates to RevealJS, a new shortcode to reorder content, a landscape page block, and more. There are also a couple of breaking changes that will affect a small number of users.
55
categories:
66
- Quarto 1.6
77
- Releases
88
author: Charlotte Wickham
9-
date: "xx/xx/2024"
9+
date: "11/15/2024"
1010
draft: true
11-
# image:
12-
# image-alt:
11+
image: "images/thumbnail.png"
12+
image-alt: "Quarto 1.6 with a palette."
1313
---
1414

15-
Quarto 1.6 has been officially released! You can get the current release from the [download page](/docs/download/index.qmd)
15+
Quarto 1.6 has been officially released! You can get the current release from the [download page](/docs/download/index.qmd).
1616

17-
## Crossrefs
17+
We are particularly excited about:
1818

19-
It should now be easier to get Quarto to recognize subfloats (subtables, subfigures, etc) when they're emitted by code cells.
20-
If the `subcap` attribute of a code cell has as many entries as the number of outputs from your code cell, Quarto knows to accept those as subfloats.
21-
See [#10328](https://github.com/quarto-dev/quarto-cli/issues/10328) for details.
19+
- Support for **brand.yml**---a single file that defines your organization's branding and style preferences across formats.
2220

23-
Minimal example:
21+
- RevealJS updates, including the new navigation features: scroll mode and jump to slide.
22+
23+
- The `contents` shortcode for reordering your content.
24+
25+
- `landscape` blocks for placing content on a landscape page.
26+
27+
- Improvements in how you can specify subpanels of cross-references from code blocks.
28+
29+
You can read about these new features and a couple of breaking changes in the sections below. You can find all the changes in this version in the [Release Notes](/docs/download/changelog/1.6/).
30+
31+
## Cross-format theming with **brand.yml**
32+
33+
[**brand.yml**](https://posit-dev.github.io/brand-yml/) is a Posit project outside Quarto that defines brand information using a simple YAML file. Quarto is a flagship adopter of **brand.yml** and supports brand-themed output for `html`, `dashboard`, `typst` and `revealjs` formats.
34+
35+
TODO: Include brand example from Guide here.
36+
37+
Get started by reading the Quarto [Guide to Brand](/docs/authoring/brand.qmd).
38+
39+
## RevealJS update
40+
41+
Quarto v1.6 updates RevealJS to v5.1.0. With the update comes two notable features:
2442

43+
[**Jump to Slide**](/docs/presentations/revealjs/presenting.qmd#jump-to-slide): Quickly navigate to a slide. Press {{< kbd G >}} to activate, type a slide number or ID, and hit Enter/Return.
44+
45+
[**Scroll Mode**](/docs/presentations/revealjs/presenting.qmd#scroll-view): Scroll rather than click to advance slides. Press {{< kbd R >}}, add `?view=scroll` to your URL, or use the Navigation menu to activate. Automatically activated on small screens.
46+
47+
## Contents shortcode
48+
49+
The `contents` shortcode lets you compose content in one location in your document and then display it in another. For example, you might use a code cell to generate a plot:
50+
51+
```` markdown
52+
```{{python}}
53+
#| echo: false
54+
#| label: a-cell
55+
import matplotlib.pyplot as plt
56+
plt.plot([1,2,3])
57+
```
2558
````
26-
```{{r}}
59+
60+
Then use the `contents` shortcode to display that plot in a callout by referencing its label, `a-cell`:
61+
62+
``` {.markdown shortcodes="false"}
63+
::: callout-note
64+
## Note the following plot
65+
66+
{{< contents a-cell >}}
67+
68+
:::
69+
```
70+
71+
Find all the details on our guide page on the [contents shortcode](/docs/authoring/contents.qmd).
72+
73+
## Landscape mode
74+
75+
In `pdf`, `docx,` and `typst` formats, you can now put content on a landscape page by placing it inside a [`landscape` block](/docs/authoring/article-layout.html#landscape-mode):
76+
77+
``` markdown
78+
::: {.landscape}
79+
80+
This will appear in landscape.
81+
82+
:::
83+
```
84+
85+
## Cross-reference improvements
86+
87+
It should now be easier to get Quarto to recognize subfloats (subtables, subfigures, etc) when they're emitted by code cells. If the `subcap` attribute of a code cell has as many entries as the number of outputs from your code cell, Quarto knows to accept those as subfloats. See [#10328](https://github.com/quarto-dev/quarto-cli/issues/10328){.external} for details.
88+
89+
Minimal example:
90+
91+
```{{{r}}}
2792
#| label: tbl-example
2893
#| tbl-cap: I want these images to be interpreted as Tables.
2994
#| tbl-subcap:
@@ -32,12 +97,25 @@ Minimal example:
3297
plot(1:10)
3398
plot(11:20)
3499
```
35-
````
36100

37-
![The result of executing the above code cell in HTML format](./subcells-and-subfloats.png)
101+
![The result of executing the above code cell in HTML format](./subcells-and-subfloats.png){.border fig-alt="Screenshot of a document showing two plots with an overall caption labelled 'Table 1', and each plot with a caption starting '(a)' and '(b)' respectively."}
102+
103+
## Breaking Changes
104+
105+
We try very hard to keep Quarto backward compatible. However, in this release, there are a couple of breaking changes due to upstream dependencies. You may be affected if:
38106

39-
## Acknowledgements
107+
- **You have TypeScript files (`*.ts`) that you use with `quarto run` that import Deno standard libraries.**
40108

41-
We'd like to say a huge thank you to everyone who contributed to this release by opening issues and pull requests:
109+
The import syntax has changed. Please see [Deno Scripts](/docs/projects/scripts.html#deno-scripts) for the necessary changes.
110+
111+
- **You override the LaTeX `graphics.tex` partial, or you have a completely custom LaTeX template that doesn't use the `graphics.tex` partial.**
112+
113+
A Pandoc change means some images are now wrapped in `\pandocbounded`. Consequently, your `graphics.tex` partial, or your template, needs to define `\pandocbounded`. You can look at our [source code for `graphics.tex`](https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/formats/pdf/pandoc/graphics.tex){.external} to see the necessary changes and read more about the upstream change in [Pandoc commit 26b25a4](https://github.com/jgm/pandoc/commit/26b25a4428815b04c255e33e95ee86ca7b6ee30e){.external}.
114+
115+
## Acknowledgments
116+
117+
We want to say a huge thank you to everyone who contributed to this release by opening issues and pull requests:
42118

43119
{{< include _contribs.md >}}
120+
121+
The palette emoji in the [listing and social card image](images/thumbnail.png) for this post comes from [OpenMoji](https://openmoji.org/){.external}– the open-source emoji and icon project. License: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/#){.external}
71.2 KB
Loading

0 commit comments

Comments
 (0)