Markdown code blocks with class rmd
in roxygen2 documentation end up empty
#2298
Labels
bug
an unexpected problem or unintended behavior
roxygen2 allows to write "fenced" Markdown code blocks, optionally with a source code language identifier like
md
. Such a code block results in.Rd
content likeBut if one specifies the language identifier
rmd
for a code block, pkgdown silently omits the block's content in the generated HTML.Try to render the following
.R
file content to reproduce the issue (and changermd
tomd
to make pkgdown not omit theCan you see me?
block content):I believe this to be a regression somewhere between pkgdown 2.0.6 and 2.0.7, maybe related to changes around #2092.
The text was updated successfully, but these errors were encountered: