However, once I use dedoc, it returns the redoc placeholder instead of the R code:
---
title: Reversible R Markdown Document
subtitle: Your subtitle
author: Your Name
date: Created `r Sys.Date()`
bibliography: '[[redoc-inlinecode-2]]'
output:
redoc::redoc:
highlight_outputs: yes
margins: 1
line_numbers: no
---
@einstein
Einstein, Albert. 1905. "Zur Elektrodynamik bewegter Körper. (German) \[on the
Electrodynamics of Moving Bodies\]." *Annalen Der Physik* 322 (10): 891--921.
<https://doi.org/http://dx.doi.org/10.1002/andp.19053221004>.
Session Info
```r
─ Session info ─────────────────────────
setting value
version R version 3.5.3 (2019-03-11)
os macOS Mojave 10.14.6
system x86_64, darwin15.6.0
ui RStudio
language (EN)
collate en_AU.UTF-8
ctype en_AU.UTF-8
tz Australia/Sydney
date 2020-03-26
```
Pandoc version (get with rmarkdown::pandoc_version): 2.3.1
RStudio version (if applicable): 1.3.300
Given the following
reprex.bib
file:The following
reprex.Rmd
renders fine:reprex.docx
However, once I use dedoc, it returns the redoc placeholder instead of the R code:
Session Info
```r ─ Session info ───────────────────────── setting value version R version 3.5.3 (2019-03-11) os macOS Mojave 10.14.6 system x86_64, darwin15.6.0 ui RStudio language (EN) collate en_AU.UTF-8 ctype en_AU.UTF-8 tz Australia/Sydney date 2020-03-26 ``` Pandoc version (get with rmarkdown::pandoc_version): 2.3.1 RStudio version (if applicable): 1.3.300