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

Support for widgetframe #38

Closed
bhaskarvk opened this Issue Jan 17, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@bhaskarvk

bhaskarvk commented Jan 17, 2017

Similar to rstudio/bookdown#271 I need a way to move the child widget HTML and lib files over to the bookdown directory and subsequently to public directory under the proper sub directory.

Current behavior is the child html is copied under directory 'public/1/01/01/index.html' and widget_libs folder is copied under `public/post/. Both these behaviors are not correct.

The child widget and its widget_libs directory should be copied over to where the parent HTML is.

@bhaskarvk

This comment has been minimized.

bhaskarvk commented Jan 17, 2017

Btw solving this issue will lead to a much simpler and better solution for #32 / #20 / #7

@bhaskarvk

This comment has been minimized.

bhaskarvk commented May 11, 2017

widgetframe now works with almost all other HTML based output formats including bookdown, but not with blogdown, due to the complexities involved in how hugo moves static HTML files to final destination. I'll still working to see if I can fix anything in widgetframe knitting to make it work, but for now keeping this issue open.

@p0bs

This comment has been minimized.

p0bs commented May 22, 2017

That would be great, @bhaskarvk . To me, blogdown is most useful for the sophisticated hugo themes (as Yihui puts it), using htmlwidgets to provide the best experience. For that reason, your work will be much appreciated by many!

@bhaskarvk

This comment has been minimized.

bhaskarvk commented Jun 24, 2017

@yihui Any pointers on it. blogdown is the last bastion for widgetframe to conquer :), and a lot of people have asked for proper widget support in blogdown which I believe widgetframe can deliver.

@yihui

This comment has been minimized.

Member

yihui commented Jul 24, 2017

Sorry I still haven't had a chance to tackle this problem. I'm close to finishing the first draft of the blogdown book. I might get some time for this after finishing the book.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment