Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

"WARNING" should be red #4

Open
PavelBal opened this issue Aug 7, 2023 · 2 comments
Open

"WARNING" should be red #4

PavelBal opened this issue Aug 7, 2023 · 2 comments

Comments

@PavelBal
Copy link
Member

PavelBal commented Aug 7, 2023

::: callout-note
"WARNING" should be in RED.
```{r resultsOrigin, echo=FALSE, results='asis'}
if (params$loadPreSimulatedResults) {
  cat(
    "This report has been created with simulation results loaded from results folder ",
    params$loadResultsFolder, ".\n"
  )
} else {
  cat("This report has been created by running the simulations.")
}

if (params$setTestParameters) {
  cat("WARNING: `setTestParameters` is set to `TRUE`!")
}

:::

@Felixmil
Copy link
Collaborator

I would suggest use a warning or important callout for this then:

image
source: https://quarto.org/docs/authoring/callouts.html

@PavelBal
Copy link
Member Author

Ok, then the first part ("This report has been created blabla)" should be a note, and the second a warning.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants