Hi,
In HTML documents, setting the apperance="minimal" or icon=false attribute on a callout does not suppress the icon when the callout doesn't contain a header. Same goes for setting callout-appearance: minimal or callout-icon: false in the global options. This issue does not occur in PDF documents.
Reprex:
---
title: "Callout Icons"
format: html
---
::: {.callout-warning appearance="minimal"}
This is a callout without a heading.
The icon is not suppressed.
:::
::: {.callout-warning appearance="minimal"}
# This callout has a heading.
The icon is suppressed as expected.
:::
Session Info
```
R version 4.2.0 (2022-04-22 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044), RStudio 2022.2.0.443
Locale:
LC_COLLATE=English_United States.utf8
LC_CTYPE=English_United States.utf8
LC_MONETARY=English_United States.utf8
LC_NUMERIC=C
LC_TIME=English_United States.utf8
Package version:
base64enc_0.1.3 bslib_0.3.1 cli_3.3.0 compiler_4.2.0
digest_0.6.29 evaluate_0.15 fastmap_1.1.0 fs_1.5.2
glue_1.6.2 graphics_4.2.0 grDevices_4.2.0 highr_0.9
htmltools_0.5.2 jquerylib_0.1.4 jsonlite_1.8.0 knitr_1.39
later_1.3.0 magrittr_2.0.3 methods_4.2.0 processx_3.5.3
ps_1.7.0 quarto_1.1 R6_2.5.1 rappdirs_0.3.3
Rcpp_1.0.8.3 rlang_1.0.2 rmarkdown_2.14 rstudioapi_0.13
sass_0.4.1 stats_4.2.0 stringi_1.7.6 stringr_1.4.0
tinytex_0.39 tools_4.2.0 utils_4.2.0 xfun_0.31
yaml_2.3.5
```
Quarto Check
I'm not sure why the check could not locate R. I can run R code chunks in Quarto documents just fine.
```
[>] Checking Quarto installation......OK
Version: 0.9.510
Path: C:\Users\czippel\AppData\Local\Programs\Quarto\bin\
CodePage: 1252
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....OK
Version: 3.9.11 (Conda)
Path: C:/Users/czippel/Anaconda3/python.exe
Jupyter: 4.9.2
Kernels: python3
[>] Checking Jupyter engine render....OK
[>] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
```
Checklist
When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:
Hi, In HTML documents, setting the
apperance="minimal"
oricon=false
attribute on a callout does not suppress the icon when the callout doesn't contain a header. Same goes for settingcallout-appearance: minimal
orcallout-icon: false
in the global options. This issue does not occur in PDF documents.Reprex:
Session Info
``` R version 4.2.0 (2022-04-22 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044), RStudio 2022.2.0.443 Locale: LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 LC_NUMERIC=C LC_TIME=English_United States.utf8 Package version: base64enc_0.1.3 bslib_0.3.1 cli_3.3.0 compiler_4.2.0 digest_0.6.29 evaluate_0.15 fastmap_1.1.0 fs_1.5.2 glue_1.6.2 graphics_4.2.0 grDevices_4.2.0 highr_0.9 htmltools_0.5.2 jquerylib_0.1.4 jsonlite_1.8.0 knitr_1.39 later_1.3.0 magrittr_2.0.3 methods_4.2.0 processx_3.5.3 ps_1.7.0 quarto_1.1 R6_2.5.1 rappdirs_0.3.3 Rcpp_1.0.8.3 rlang_1.0.2 rmarkdown_2.14 rstudioapi_0.13 sass_0.4.1 stats_4.2.0 stringi_1.7.6 stringr_1.4.0 tinytex_0.39 tools_4.2.0 utils_4.2.0 xfun_0.31 yaml_2.3.5 ```Quarto Check
I'm not sure why the check could not locate R. I can run R code chunks in Quarto documents just fine. ``` [>] Checking Quarto installation......OK Version: 0.9.510 Path: C:\Users\czippel\AppData\Local\Programs\Quarto\bin\ CodePage: 1252 [>] Checking basic markdown render....OK [>] Checking Python 3 installation....OK Version: 3.9.11 (Conda) Path: C:/Users/czippel/Anaconda3/python.exe Jupyter: 4.9.2 Kernels: python3 [>] Checking Jupyter engine render....OK [>] Checking R installation...........(None) Unable to locate an installed version of R. Install R from https://cloud.r-project.org/ ```Checklist
When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:
quarto check
in a terminal in your issue?