You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The language key callout-tip-title can be used to set the title of tip callouts. However, when making the callout cross-referenceable this title is ignored and "Tip X" is used instead.
Steps to reproduce
---
format: html
language:
callout-tip-title: "Note"
---
::: {#tip-123 .callout-tip}
Text
:::
Expected behavior
Title of the callout should be "Note 1"
Actual behavior
Title of the callout is "Tip 1"
Your environment
Windows 11
Quarto check output
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.2.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.41.0: OK
Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.6.10
Path: C:\Users\au234616\AppData\Local\Programs\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[>] Checking LaTeX....................OK
Tex: (not detected)
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.11.1
Path: C:/Users/au234616/AppData/Local/Programs/Python/Python311/python.exe
Jupyter: 5.2.0
Kernels: python3
[>] Checking Jupyter engine render....OK
[>] Checking R installation...........OK
Version: 4.4.0
Path: C:/PROGRA~1/R/R-44~1.0
LibPaths:
- C:/Users/au234616/AppData/Local/R/win-library/4.4
- C:/Program Files/R/R-4.4.0/library
knitr: 1.48.3
rmarkdown: 2.28
[>] Checking Knitr engine render......OK
The text was updated successfully, but these errors were encountered:
cscheid
changed the title
callout-tip-title is ignored when callouts can be referenced
Callouts: language configuration bugs across formats
Sep 26, 2024
@cscheid: Thanks for a quick fix. I just tested it and found out that references to the callout still uses "Tip" though. So @tip-123 in the above example evaluates to "Tip 1".
We should change that, but it's complicated. With this fix, you should also now be able to customize language for custom crossref environments, and we can't know ahead of time which those are.
Bug description
The
language
keycallout-tip-title
can be used to set the title of tip callouts. However, when making the callout cross-referenceable this title is ignored and "Tip X" is used instead.Steps to reproduce
Expected behavior
Title of the callout should be "Note 1"
Actual behavior
Title of the callout is "Tip 1"
Your environment
Windows 11
Quarto check output
The text was updated successfully, but these errors were encountered: