-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviormarkdown ⬇️
Description
For example:
#' ```
#' r <- reactive({ compute(bigdata()) } %>%
#' bindCache({ extract_most_recent_time(bigdata()) })
#' ```
turns into:
\if{html}{\out{<div class="sourceCode NA">}}\preformatted{r <- reactive(\{ compute(bigdata()) \} \%>\%
bindCache(\{ extract_most_recent_time(bigdata()) \})
}\if{html}{\out{</div>}}
(Note that in the linked code above, it was generated with roxygen2 7.1.1 and does not have the sourceCode
class, but the NA
issue is still present.)
If ```R
is used to open the code block, then it (correctly) turns into class="sourceCode R"
.
Update: Are curly braces (like ```{r, eval=FALSE}
) needed for syntax highlighting?
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviormarkdown ⬇️