Skip to content
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

htmlwidget tables in help files don't build properly with pandoc > 2.0 #2

Closed
noamross opened this issue Mar 7, 2018 · 1 comment
Closed
Assignees

Comments

@noamross
Copy link
Contributor

noamross commented Mar 7, 2018

If a system has pandoc > 2.0, then the nice htmlwidget tables in cites_codes() and other functions don't appear. This is because htmlwidgets uses pandoc to build self-contained widgets. Pandoc < 2.0 inlines JS and CSS code as Base64 objects, while >2.0 inlines them as text. I believe the curly braces in JS and CSS are conflicting with the Rd syntax.

Some options:

  • Figure out how to post-process the imported widget HTML so as to make it compatible. (not sure how this would work
  • Pre-build the Rd files rather than let them be built on the users' system (not great as pandoc > 2.0 will be everywhere soon)
@noamross
Copy link
Contributor Author

noamross commented Aug 2, 2018

Fixed on v0.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant