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

html associated XXX_files directory #15

Closed
bernardkaplan opened this issue Aug 29, 2019 · 2 comments
Closed

html associated XXX_files directory #15

bernardkaplan opened this issue Aug 29, 2019 · 2 comments

Comments

@bernardkaplan
Copy link

@bernardkaplan bernardkaplan commented Aug 29, 2019

Hi,

When I render the following document test.md a directory test_files is generated along the html file test.html.

  • build.R
rmarkdown::render("test.md")

test.md

---
title: "Test"
output:
  prettydoc::html_pretty
---

test_files contains fonts, images and styles not even referenced in the html.

Is it possible to generate a single html file without the XXX_files folder ?

Regards,

Bernard

@yixuan
Copy link
Owner

@yixuan yixuan commented Aug 30, 2019

Thanks. It looks like a bug of prettydoc: if your document includes a figure, then the XXX_files folder does not show up. I'll try to fix it.

yihui added a commit to rstudio/rmarkdown that referenced this issue Oct 8, 2019
…hen no figures are generated (#1665)

this should fix yixuan/prettydoc#15
@yixuan
Copy link
Owner

@yixuan yixuan commented Oct 9, 2019

This should have been fixed by rstudio/rmarkdown#1665.

@yixuan yixuan closed this Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.