-
DescriptionHi all I'm busy to convert my notes (a lot of) from RevealJS to Quarto i.e. one single document with multiple output formats. In short, I've a lot of documents having something like: ---
title: "My Slide Show"
subtitle: "Playing with logo"
author: "Christophe"
date: last-modified
lang: "en"
format:
revealjs:
logo: images/my-logo.svg
css: assets/style.css
resources: images
header-includes: |
<script src="assets/custom.js" type="application/javascript"></script>
<< and a lot more properties >>
--- In my YAML, I've thus a Right now, I've five slideshows and I need to migrate somes more. My idea was : stop to put So, if my idea is correct, I can just replace my front matter with: ---
title: "My Slide Show"
subtitle: "Playing with logo"
author: "Christophe"
date: last-modified
lang: "en"
filter:
- add_reveal_settings
--- and get the exact same things (since Is this a good idea? Should I need to create a filter for this (did you know if I can reuse an existing filter; which one?) Many thanks to the community. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
That's unfortunately not going to work; |
Beta Was this translation helpful? Give feedback.
-
Are your presentations in the same project ? If so, then you can have shared metadata through Or are your presentation in different projects ? In that case, the way to share a format accross project would be to package it as an extension to create a custom format that is just a customed version of existing More on that at https://quarto.org/docs/extensions/formats.html It needs to be included in each presentation project aftet, but you can then distribute your extension several way and easily install it / update with quarto CLI Hope it helps |
Beta Was this translation helpful? Give feedback.
-
I've made additionals tests and, yes, it's not so difficult to create his own revealjs extension. I've mainly look at extensions from Michaël like https://github.com/mcanouil/quarto-revealjs-coeos. Thanks guys! |
Beta Was this translation helpful? Give feedback.
Are your presentations in the same project ?
If so, then you can have shared metadata through
_quarto.yml
or_metadata.yml
. Doc is at https://quarto.org/docs/projects/quarto-projects.html#shared-metadataOr are your presentation in different projects ?
In that case, the way to share a format accross project would be to package it as an extension to create a custom format that is just a customed version of existing
revealjs
format.More on that at https://quarto.org/docs/extensions/formats.html
It needs to be included in each presentation project aftet, but you can then distribute your extension several way and easily install it / update with quarto CLI
Hope it helps