Skip to content

Commit 42a5222

Browse files
committed
Set id and links to section
1 parent 1020259 commit 42a5222

File tree

1 file changed

+11
-11
lines changed
  • docs/blog/posts/2025-xx-xx-R-package-release-1.5

1 file changed

+11
-11
lines changed

docs/blog/posts/2025-xx-xx-R-package-release-1.5/index.qmd

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ image-alt: "quarto R logo with 1.5.0 release text"
1414

1515
The quarto R package version 1.5.0 is here! This release focuses on making Quarto more flexible and powerful for R users with significant workflow improvements.
1616

17-
## What's New
17+
## What's New {#whats-new}
1818

1919
Install the latest version from CRAN:
2020

@@ -24,13 +24,13 @@ install.packages("quarto")
2424

2525
Major features in this release include:
2626

27-
- **Pass R values to Quarto metadata** - Set metadata programmatically based on computed values from knitr engine
28-
- **Insert Markdown in HTML tables for Quarto processing** - Include Markdown content (equations, links, formatting) in HTML tables
29-
- **Work with R scripts and Quarto** - Extract R code from Quarto documents or prepare R scripts for Quarto rendering
30-
- **Build paths from Quarto Project** - Build paths relative to Quarto project root within R cells
31-
- **Automate Quarto CLI from R** - New and improved wrappers around Quarto CLI features for easier automation
27+
- [**Pass R values to Quarto metadata**](#pass-r-values-to-quarto-metadata) - Set metadata programmatically based on computed values from knitr engine
28+
- [**Insert Markdown in HTML tables for Quarto processing**](#insert-markdown-in-html-tables) - Include Markdown content (equations, links, formatting) in HTML tables
29+
- [**Work with R scripts and Quarto**](#work-with-r-scripts) - Extract R code from Quarto documents or prepare R scripts for Quarto rendering
30+
- [**Build paths from Quarto Project**](#build-paths-from-project) - Build paths relative to Quarto project root within R cells
31+
- [**Automate Quarto CLI from R**](#automate-quarto-cli) - New and improved wrappers around Quarto CLI features for easier automation
3232

33-
## Pass R Values to Quarto Metadata
33+
## Pass R Values to Quarto Metadata {#pass-r-values-to-quarto-metadata}
3434

3535
Set metadata dynamically based on R computations with `write_yaml_metadata_block()`. For example, you could check a parameter value, and conditionally include content based on it:
3636

@@ -99,7 +99,7 @@ This will mark the string to be double quoted in YAML, preserving the character
9999

100100
See more examples in the [dynamic metadata vignette](https://quarto-dev.github.io/quarto-r/articles/dynamic-metadata.html), including how to make parameters available as metadata for conditional content.
101101

102-
## Insert Markdown in HTML Tables for Quarto Processing
102+
## Insert Markdown in HTML Tables for Quarto Processing {#insert-markdown-in-html-tables}
103103

104104
Quarto can [parse Markdown content in HTML tables](https://quarto.org/docs/authoring/tables.html#html-tables), enabling rich formatting like math equations, links, and text styling. The new `tbl_qmd_*()` functions make this powerful Quarto feature easier to use from R:
105105

@@ -117,7 +117,7 @@ data.frame(
117117

118118
These helper functions wrap content in HTML spans with `data-qmd-base64` attributes that Quarto recognizes for Markdown processing. They work with any table package that supports raw HTML (knitr, kableExtra, DT). For content that only works in Quarto, use the `display` argument for graceful fallback. See more examples in the [Markdown in HTML tables vignette](https://quarto-dev.github.io/quarto-r/articles/markdown-html-tables.html), including comparisons of Markdown support in HTML tables across different packages.
119119

120-
## Work with R Scripts and Quarto
120+
## Work with R Scripts and Quarto {#work-with-r-scripts}
121121

122122
### Extract R Code from Quarto Documents
123123

@@ -161,7 +161,7 @@ This function adds a minimal spin-style preamble (using `#'` comments) that Quar
161161

162162
The preamble enables Quarto's [engine binding](https://quarto.org/docs/computations/execution-options.html#engine-binding) to properly process the script, allowing you to use R scripts as source documents alongside `.qmd` files. Learn more about working with R scripts in the [R scripts vignette](https://quarto-dev.github.io/quarto-r/articles/r-scripts.html).
163163

164-
## Build Paths from Quarto Project
164+
## Build Paths from Quarto Project {#build-paths-from-project}
165165

166166
Quarto [sets environment variables](https://quarto.org/docs/advanced/environment-vars.html#variables-quarto-sets) during rendering that identify the project root, but knitr doesn't have direct access to this information by default. The new project navigation functions bridge this gap:
167167

@@ -186,7 +186,7 @@ results <- read.csv(project_path("data", "results.csv"))
186186

187187
For more explicit control, consider using `here::i_am()` and `here::here()` as an alternative approach. Follow https://github.com/r-lib/here/issues/128 for improved support in next versions of `here`.
188188

189-
## Automate Quarto CLI from R
189+
## Automate Quarto CLI from R {#automate-quarto-cli}
190190

191191
The quarto R package has always been designed as a comprehensive wrapper for the Quarto CLI, enabling seamless integration of Quarto into R workflows and pipelines. This release strengthens that foundation with improved wrappers and new helpers.
192192

0 commit comments

Comments
 (0)