Render HTML document and revealjs presentation #1751
-
I'm running into problems trying to generate an html website that would also contain my revealjs presentation. What is the best way to create multi document output for hlml and reveal. As both are essentially html and the file names are the same, the files get over written. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
See #1433 especially my answer. |
Beta Was this translation helpful? Give feedback.
-
You could also try using format:
html: default
revealjs:
output-file: page-reveal.html HTH! |
Beta Was this translation helpful? Give feedback.
-
It does work but not as you the way you seem to want. What you did not say, is that you actually want to generate both at the same time at the same place with the same name. |
Beta Was this translation helpful? Give feedback.
-
I have a problem which may be the same as the one pointed out in this question. Let me know if I should open another question. I am trying to create a website in which some of the qmd pages need to be rendered in the formats html and revealjs at the same time. When I run quarto without a configuration file the resulting website contains one folder with figures for the html and one for the Reveal JS. However, when I use a configuration file I try to expose here all the details, but you can check the GitHub repository at the end of this comment with a full example.
If I render the code with
The resulting webiste contains a folder with figures for the html and the revealjs versions. If I add a minimal Quarto configuration file
Then, rendering with
Generates a website in You can find the full example and explanation in the following GitHub repository https://github.com/perellonieto/quarto_html_revealjs_test/tree/3c54d7966d9a36dbe848e9eca15c109b64d468c2 EDIT: Updated the previous url to point to the correct commit (Dec 22) And the expected rendered website https://www.perellonieto.com/quarto_html_revealjs_test/ |
Beta Was this translation helpful? Give feedback.
You could also try using
output-file
to provide an alternate name for one of the formats, e.g.HTH!