gadenbuie / xaringanExtra

:ferris_wheel: A playground of enhancements and extensions for xaringan slides.
https://pkg.garrickadenbuie.com/xaringanExtra
Other
448 stars 36 forks source link

Placing images and an embedded image viewer in a Panelset with xaringanExtra #84

Closed howardm closed 3 years ago

howardm commented 3 years ago

Hi,

I can successfully insert images in a Tab Two of a Panelset (in a .Rmd document for a Distill website)with the following text:


Tab Two {.panel-name}

![](images/CXR.jpg){width=49%} ![](images/CXR.jpg){width=49%}

:::

::: {.panel}


This results in the following:

Screen Shot 2021-01-29 at 4 59 55 PM


Great! But when trying the following, the associated embedded viewer doesn't work:

Screen Shot 2021-01-29 at 5 11 56 PM

This code for the embedded viewer works outside of the Panelset.

Is there something I could try to make this work ?

Thanks!

Howard

howardm commented 3 years ago

Oh, never mind...

The following works nicely :-)

Screen Shot 2021-01-29 at 5 24 43 PM

Cheers,

Howard