yihui / litedown

A lightweight version of R Markdown
https://yihui.org/litedown/
Other
161 stars 3 forks source link

Knit in RStudio fails when `output: litedown::html_format` with no options #5

Closed hturner closed 3 months ago

hturner commented 4 months ago

With options works okay:

---
output:
  litedown::html_format:
    options:
      number_sections: true
knit: litedown:::knit
---

## Pressure Plot

```{r pressure, echo=FALSE}
plot(pressure)


But without I get the following error:

![image](https://github.com/yihui/litedown/assets/3343008/233405da-610c-43b1-a0ae-eef8f1026ce2)
yihui commented 3 months ago

Fixed now. Thanks!