Skip to content

Commit 326fbd0

Browse files
committed
Merge branch 'prerelease' into brand-reference
2 parents 6499b70 + 6b00ce8 commit 326fbd0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+161
-7
lines changed

_freeze/site_libs/quarto-listing/quarto-listing.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const kProgressiveAttr = "data-src";
22
let categoriesLoaded = false;
33

44
window.quartoListingCategory = (category) => {
5+
category = atob(category);
56
if (categoriesLoaded) {
67
activateCategory(category);
78
setCategoryHash(category);
@@ -58,7 +59,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
5859
);
5960

6061
for (const categoryEl of categoryEls) {
61-
const category = categoryEl.getAttribute("data-category");
62+
const category = atob(categoryEl.getAttribute("data-category"));
6263
categoryEl.onclick = () => {
6364
activateCategory(category);
6465
setCategoryHash(category);
@@ -208,7 +209,7 @@ function activateCategory(category) {
208209

209210
// Activate this category
210211
const categoryEl = window.document.querySelector(
211-
`.quarto-listing-category .category[data-category='${category}'`
212+
`.quarto-listing-category .category[data-category='${btoa(category)}']`
212213
);
213214
if (categoryEl) {
214215
categoryEl.classList.add("active");
@@ -231,7 +232,7 @@ function filterListingCategory(category) {
231232
list.filter(function (item) {
232233
const itemValues = item.values();
233234
if (itemValues.categories !== null) {
234-
const categories = itemValues.categories.split(",");
235+
const categories = atob(itemValues.categories).split(",");
235236
return categories.includes(category);
236237
} else {
237238
return false;

_quarto.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ website:
129129
href: docs/authoring/placeholder.qmd
130130
- text: "Lorem Lipsum Text"
131131
href: docs/authoring/lipsum.qmd
132+
- text: "Rearrange Contents"
133+
href: docs/authoring/contents.qmd
132134
- docs/authoring/videos.qmd
133135
- text: "Embeds"
134136
href: docs/authoring/notebook-embed.qmd

docs/advanced/environment-vars.qmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ You can read about other ways to set environment variables in Quarto Projects in
1818

1919
| Variable | Description |
2020
|-----------------|-------------|
21-
| `QUARTO_R` | |
22-
| `QUARTO_PYTHON` | |
23-
| | |
21+
| `QUARTO_R` | Explicit path to the version of `Rscript` to be used by the `knitr` engine and `quarto run *.R` command. |
22+
| `QUARTO_PYTHON` | Explicit path to the version of `python` to be used by the `jupyter` engine and `quarto run *.py` command. |
23+
| `QUARTO_VERSION_REQUIREMENT` | A [`semver`](https://semver.org/) string describing the Quarto version requested by the environment. If this check fails, Quarto will not run. |
2424

2525
## Variables Quarto sets
2626

docs/authoring/_shortcodes.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ Quarto supports several shortcodes natively:
2424
| [embed](/docs/authoring/notebook-embed.qmd) | Embed cells from a Jupyter Notebook |
2525
| [placeholder](/docs/authoring/placeholder.qmd) | Add placeholder images to your document |
2626
| [lipsum](/docs/authoring/lipsum.qmd) | Add placeholder text to your document |
27-
| [contents](/docs/authors/contents.qmd) | Rearrange content in your document |
27+
| [contents](/docs/authoring/contents.qmd) | Rearrange content in your document |

docs/authoring/variables.qmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ extract the first in the array of authors:
7575
{{< meta author.1 >}}
7676
```
7777

78+
To reference a field that contains a dot (`.`), escape the dot with a double backslash (`\\`). For example, to get `field.with.dots`:
79+
80+
81+
``` {.markdown shortcodes="false"}
82+
{{< meta field\\.with\\.dots >}}
83+
```
84+
7885
## env {#env}
7986

8087
The `env` shortcode enables you to read values from environment variables. For example:

docs/reference/formats/asciidoc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
"name": "options",
3030
"title": "Format Options",
3131
"options": [
32+
{
33+
"name": "brand",
34+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
35+
},
3236
{
3337
"name": "quarto-required",
3438
"description": "A semver version range describing the supported quarto versions for this document\nor project.\n\nExamples:\n\n- `>= 1.1.0`: Require at least quarto version 1.1\n- `1.*`: Require any quarto versions whose major version number is 1\n"

docs/reference/formats/context.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
"name": "options",
3434
"title": "Format Options",
3535
"options": [
36+
{
37+
"name": "brand",
38+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
39+
},
3640
{
3741
"name": "pdf-engine",
3842
"description": "Use the specified engine when producing PDF output. If the engine is not\nin your PATH, the full path of the engine may be specified here. If this\noption is not specified, Quarto uses the following defaults\ndepending on the output format in use:\n\n- `latex`: `xelatex` (other options: `pdflatex`, `lualatex`,\n `tectonic`, `latexmk`)\n- `context`: `context`\n- `html`: `wkhtmltopdf` (other options: `prince`, `weasyprint`, `pagedjs-cli`;\n see [print-css.rocks](https://print-css.rocks) for a good\n introduction to PDF generation from HTML/CSS.)\n- `ms`: `pdfroff`\n- `typst`: `typst`\n"

docs/reference/formats/dashboard.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
"name": "options",
5656
"title": "Format Options",
5757
"options": [
58+
{
59+
"name": "brand",
60+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
61+
},
5862
{
5963
"name": "theme",
6064
"description": "Theme name, theme scss file, or a mix of both."

docs/reference/formats/docbook.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
"name": "options",
2626
"title": "Format Options",
2727
"options": [
28+
{
29+
"name": "brand",
30+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
31+
},
2832
{
2933
"name": "identifier-prefix",
3034
"description": "Specify a prefix to be added to all identifiers and internal links in HTML and\nDocBook output, and to footnote numbers in Markdown and Haddock output. \nThis is useful for preventing duplicate identifiers when generating fragments\nto be included in other pages.\n"

docs/reference/formats/docx.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
"name": "reference-doc",
4242
"description": "Use the specified file as a style reference in producing a docx, \npptx, or odt file.\n"
4343
},
44+
{
45+
"name": "brand",
46+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
47+
},
4448
{
4549
"name": "quarto-required",
4650
"description": "A semver version range describing the supported quarto versions for this document\nor project.\n\nExamples:\n\n- `>= 1.1.0`: Require at least quarto version 1.1\n- `1.*`: Require any quarto versions whose major version number is 1\n"

0 commit comments

Comments
 (0)