coatless / quarto-webr

Community developed Quarto Extension to Embed webR for HTML Documents, RevealJS, Websites, Blogs, and Books.
https://quarto-webr.thecoatlessprofessor.com/
395 stars 19 forks source link

fa spinner and play button icons don't work when self-contained: true #95

Closed alexCardazzi closed 1 year ago

alexCardazzi commented 1 year ago

The spinner and play button of the rendered version of this code fails to load.

---
title: webR in Quarto HTML Documents
format: html
engine: knitr
filters:
  - webr
self-contained: true
---

This is a webr-enabled code cell in a Quarto HTML document.

```{webr-r}
print("hello")
coatless commented 1 year ago

So, the self-contained or embed-resources is not possible as we can't embed the webr client within the document itself.

You can see some prior discussions at https://github.com/coatless/quarto-webr/issues/62.

coatless commented 8 months ago

With #168, you can use embed-resources if you are not using the service-worker communication channel.