rstudio / bookdown

Authoring Books and Technical Documents with R Markdown
https://pkgs.rstudio.com/bookdown/
GNU General Public License v3.0
3.76k stars 1.27k forks source link

Theorem environment no longer works for slidy presentations. #1398

Closed urx449 closed 1 year ago

urx449 commented 1 year ago

I'm using bookdown v0.31, and latest version of R and RStudio.

Knitting this

---
title: "test"
output: bookdown::slidy_presentation2
---

## Slide

::: {.theorem}
NEW
:::

```{theorem}
OLD


produces this.

![Untitled](https://user-images.githubusercontent.com/121920102/211109925-6f94b905-fbe9-450e-89cc-8582c1e8ad69.png)

The old theorem style used to work in v0.24.
cderv commented 1 year ago

Thanks for opening the issue. It should be fine now with dev version of bookdown.

Hopefully what we do for HTML output will work ok for slidy also. Please report anything not working as you expect.

github-actions[bot] commented 1 year ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.