r-lib / downlit

Syntax Highlighting and Automatic Linking
https://downlit.r-lib.org
Other
90 stars 22 forks source link

--atx-header deprecated with Pandoc 2.11.2 #72

Closed cderv closed 3 years ago

cderv commented 4 years ago

Just a warning that new version of Pandoc has now atx headers by default, and that they deprecated the argument. See https://github.com/rstudio/rmarkdown/issues/1956

downlit sets it, but there is no harm for now. Just a deprecated warning

> rmarkdown::pandoc_version()
[1] ‘2.11.2’
> downlit::downlit_md_string(c("# Header"))
[WARNING] Deprecated: --atx-headers. Use --markdown-headings=atx instead.
[1] "# Header\n"