Skip to content

docs: document quarto.* template variable namespace#2038

Open
cderv wants to merge 6 commits into
prereleasefrom
docs-quarto-template-variables
Open

docs: document quarto.* template variable namespace#2038
cderv wants to merge 6 commits into
prereleasefrom
docs-quarto-template-variables

Conversation

@cderv
Copy link
Copy Markdown
Member

@cderv cderv commented May 20, 2026

Document the new quarto.* Pandoc template-variable namespace, which exposes Quarto's resolved localized strings (the merged result of _language.yml + lang: locale + language: overrides) to custom templates and template partials as $quarto.language.<key>$.

Adds:

  • docs/authoring/language.qmd — "Localized Strings in Templates" section explaining the namespace, with a custom-template example and an internal-namespace callout
  • docs/journals/templates.qmd — short pointer section linking back to the canonical docs from the template-authoring page
  • docs/prerelease/1.10/_highlights.qmd — v1.10 highlight bullet

All new content is gated by {{< prerelease-callout 1.10 >}}, so the sections stay hidden in published docs until v1.10 ships.

Companion to quarto-dev/quarto-cli#14530

@github-actions
Copy link
Copy Markdown
Contributor

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2038.quarto.org

🔄 Modified Documents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant