yihui / litedown

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

渲染文档时产生的提示信息输出不是很美观 #3

Open chuxinyuan opened 1 month ago

chuxinyuan commented 1 month ago

文档源码

---
output:
  litedown::html_format:
    options:
      toc: true
      number_sections: true
      embed_resources: false
    meta:
      css: ["default", "@heading-anchor"]
      js: ["@heading-anchor"]
---

## Including Plots

You can also embed plots, for example:

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

## 重现过程

直接点击 Knit 按钮。

## 提示信息

![202405300156](https://github.com/yihui/litedown/assets/26940042/5cc32e91-0c90-4e56-92e3-33f76716a3c0)

## 系统信息

``` r
xfun::session_info("litedown")
#> R version 4.2.3 (2023-03-15 ucrt)
#> Platform: x86_64-w64-mingw32/x64 (64-bit)
#> Running under: Windows 10 x64 (build 19045)
#> 
#> Locale:
#>   LC_COLLATE=Chinese (Simplified)_China.utf8 
#>   LC_CTYPE=Chinese (Simplified)_China.utf8   
#>   LC_MONETARY=Chinese (Simplified)_China.utf8
#>   LC_NUMERIC=C                               
#>   LC_TIME=Chinese (Simplified)_China.utf8    
#> 
#> Package version:
#>   commonmark_1.9.1 graphics_4.2.3   grDevices_4.2.3  litedown_0.0.20 
#>   stats_4.2.3      tools_4.2.3      utils_4.2.3      xfun_0.44

Created on 2024-05-30 with reprex v2.1.0

yihui commented 1 month ago

遵照提示行事,就不必再看到它。这种一次性的消息,莫非还要裱花不成。

liamxg commented 1 month ago

Dear @yihui 和之前有什么特别大的优势吗?

yihui commented 1 month ago

https://yihui.org/litedown/#sec-highlights

liamxg commented 1 month ago

thanks.