-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate compatibility with Pandoc 2.0 #1756
Comments
Since Pandoc 2 already exists in the wild, we should actually make this change for 1.1 patch (changed milestone). The work that should happen in 1.2 is updating the internal copy of Pandoc to Pandoc 2, which is now tracked in #1807. |
rstudio/src/cpp/session/modules/ModuleTools.R Lines 325 to 327 in 560aeb2
It is possible to set |
backported to 1.1 in 80e1cb9. |
Knit to HTML fails with RStudio 1.1.412 (both open source and Pro) on OpenSUSE 12.3 with Pandoc 2.0.6, with the error message:
Publishing is succeeds, though with the console message:
Knit to HTML works fine with RStudio 1.1.383 on OpenSUSE, and 1.1.412 works fine on other environments (Ubuntu 16.0.4, MacOS 10.12.6). |
What version of the rmarkdown package are you using? |
1.6. It works fine with 1.8. Sorry about that. All good. |
Pandoc 2.0 contains a large number of changes, some of which change behavior in important ways. While we don't bundle 2.0 yet, we do use the system version of Pandoc over our own in some configurations, so need to ensure compatibility with the new version.
@jjallaire pointed out that we may need to adjust our self-contained HTML generation function here so that it works with both Pandoc 1 and Pandoc 2:
rstudio/src/cpp/session/modules/ModuleTools.R
Line 297 in b84eed5
See also the comments on this issue:
ramnathv/htmlwidgets#289
and this this PR from @jcheng5 which addresses it:
ramnathv/htmlwidgets#292
The text was updated successfully, but these errors were encountered: