-
Notifications
You must be signed in to change notification settings - Fork 593
Description
I was trying to include some custom slides in a notebook with the intention of exporting that to a Reveal.js presentation.
I am using nbconvert==7.16.6 and jupyterlab==4.4.9
The cell contains
<h1>This is something</h1>
I checked the generated html and has a <section><section></section></section> and no <h1> to be found in the slide.
I tried to tweak metadata, but got nowhere near my goal. The metadata that I expected to work (and gives no content on the
{
"editable": true,
"slideshow": {
"slide_type": "slide"
},
"tags": [],
"raw_mimetype": "slides"
}
The content for the raw cell is ignored in most setups, or escaped in some settings (which I forgot, sorry, but still, I want to use raw there, so still, having some escaped or <pre> content is not what I am trying to achieve).
(I might have an XY problem so let me be transparent: I am trying to have a custom slide with a different background and some custom images, set up with reveal.js goodies, but the rest of the presentation should be default nbconvert-reveal.js conversion, which is perfect for my needs. I don't want custom CSS nor custom templates on the whole presentation, just some specific hand-crafted slides sparingly used. Raw cells seemed to be a good way to achieve that).