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
How to publish a html_resume on a blogdown blog? #223
Comments
|
IMO, there are two different problems. The first one is related to The error message also gives a hint to fix this problem:
For, the second problem (a blank or disordered HTML), I wonder whether you used a local web server as explained in the documentation (see https://pagedown.rbind.io/#preview-paged-html-documents). |
Thanks for your reply! The first issue has been solved pretty well. For the second question, yes I used a real local web server. If I use "Infinite Moon Reader" in the xaringan package, it is normal. But I'd like to put the HTML document on my blog (established by blogdown), it performs disordered. Is there any way to solve this issue? |
|
Thanks a lot for your reply! I understand much better why your resume is disordered when you try to publish it on your blogdown blog. Maybe can you try to produce a self contained HTML page (with I haven't had any occasion to work with blogdown recently, so maybe @cderv, @apreshill or @yihui have a better idea. |
Have tried |
@MengranLi-git How are you putting it on your blog ? Can you share or point to an example ? For specific output format, you should follow the static files advice: https://bookdown.org/yihui/blogdown/static-files.html
I tried it a demo blog:
Then when I preview or build the hugo site, if I add the Have you tried something like this alread ? Hope it helps |
Thank you for your reply! In the link |
The link will be the same as you type in your browser. So if Also, everything in About "But if I write HTML " : we called the Rmd |
I knew what the problem was. The issue has been solved! Thank you very much for your reply and for helping me understand the structure! |
|
You're welcome ! Glad it works now! |
I just opened a CV template of pagedown, but other templates from pagedown performed alike.
when I use knit: pagedown::chrome_print()
it reports:
Error in find_chrome() :
Cannot find Google Chrome automatically from the Windows Registry Hive. Please pass the full path of chrome.exe to the 'browser' argument or to the environment variable 'PAGEDOWN_CHROME'.
Calls: -> find_chrome
Execution halted
If I didn't use chrome_print, it will generate a blank HTML, or display disorderly. However, it can render perfectly in R session preview.
The text was updated successfully, but these errors were encountered: