Pandoc's mardown date.
pandoc.date.return(x, inline = TRUE, simplified = FALSE, ...)By default this function outputs (see: cat) the result. If you would want to catch the result instead, then call the function ending in .return.
pandoc.date(Sys.Date())
#> 2025/10/29 00:00:00
pandoc.date(Sys.Date() - 1:10)
#> _2025/10/28 00:00:00_, _2025/10/27 00:00:00_, _2025/10/26 00:00:00_, _2025/10/25 00:00:00_, _2025/10/24 00:00:00_, _2025/10/23 00:00:00_, _2025/10/22 00:00:00_, _2025/10/21 00:00:00_, _2025/10/20 00:00:00_ and _2025/10/19 00:00:00_
pandoc.date(Sys.Date() - 1:10, inline = FALSE)
#>
#> * 2025/10/28 00:00:00
#> * 2025/10/27 00:00:00
#> * 2025/10/26 00:00:00
#> * 2025/10/25 00:00:00
#> * 2025/10/24 00:00:00
#> * 2025/10/23 00:00:00
#> * 2025/10/22 00:00:00
#> * 2025/10/21 00:00:00
#> * 2025/10/20 00:00:00
#> * 2025/10/19 00:00:00