conflr
conflr copied to clipboard
Error rendering macro 'code'
I'm having trouble with code chunks not being rendered (regardless of the code_folding
setting). The code chunks never show up, and in some cases I see the error
Error rendering macro 'code': Invalid value specified for parameter 'com.atlassian.confluence.ext.code.render.InvalidValueException'
For example the following Rmd :
## R Markdown
```{r cars}
summary(cars)
plot(pressure)
'''
is rendered on Confluence as
![Screen Shot 2022-03-03 at 3 35 17 PM](https://user-images.githubusercontent.com/1607206/156671056-3d017f94-b5d7-48e3-99e9-aaba26220d4d.png)
Not sure if this matters, but I'm not on Confluence cloud, I'm on my company's internal confluence site. Is it possible my code macro is out of date or something?
Not sure if this matters, but I'm not on Confluence cloud, I'm on my company's internal confluence site. Is it possible my code macro is out of date or something?
conflr specifies the parameter language
and collapse
, and there's a chance that some version of Confluence doesn't accept language
parameter (collapse
is not specified unless code_folding
is set "hide"
, so it should not matter here), but I have no idea... FWIW, I use the on-premise version of Confluence without errors.
https://github.com/line/conflr/blob/3bd5533d4da044c89c5b58af7095d8f517461341/R/translate.R#L153-L164