Skip to content

Commit

Permalink
Convert kint_print.qmd to knit_print.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Puzzled-Face committed Sep 27, 2024
1 parent 75659a9 commit 111cf88
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vignettes/knit_print.qmd → vignettes/knit_print.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ citation-location: margin
bibliography: vignettes.bib
vignette: >
%\VignetteIndexEntry{demo}
%\VignetteEngine{quarto::html}
%\VignetteEncoding{UTF-8}
---

```{r}
```{r, label = "setup"}
#| label: setup
#| echo: FALSE
Expand Down Expand Up @@ -216,7 +215,7 @@ knit_print(
)
```

\[Output not shown.\]
$$Output not shown.$$

> It is not possible to omit slots from the rendition of a `crmPack` object. If you need to do this,
> you can either render the required slots individually, or override the definition of `knit_print`
Expand Down Expand Up @@ -286,7 +285,9 @@ As an example, consider `knit_print.NextBestNCRM`, which currently returns a par

You might feel this is better presented as a bulleted list. You can achieve this as follows[^3]:

[^3]: For simplicity, the `tox_label` and `asis` parameters, which are defined in the current implementation of the function, are omitted in this custom implementation. They should be preserved in any "real world" customisation.
[^3]: For simplicity, the `tox_label` and `asis` parameters, which are defined in the current
implementation of the function, are omitted in this custom implementation. They should be
preserved in any "real world" customisation.

```{r}
#| label: override-2
Expand Down

0 comments on commit 111cf88

Please sign in to comment.