Embedding Shiny app in distill post

Hi all,

I have deployed a shiny app https://andrewyimingchen.shinyapps.io/Shiny_ex/, and I want to know if there is a way to embedded this in a distill post?

I tried changing the yml output to html_document and I can directly page of shiny app code to run, but then the aesthetic of the whole page would be different than another page of my distill blog.

I am trying to achieve like this page by Cengiz Zopluoglu
This is his distill page setup.

I'm trying using iframe /iframe but not sure where it went wrong.

The following is my distill article code setup.

Does anyone know where I did wrong or if there is a better way to do it?


title: "Generative Art"
description: |
  A generative art generator.
  - name: Andrew Chen
    url: https://www.linkedin.com/in/andrewyimingchen/
date: 04-29-2021
  - Shiny
  - Art
    self_contained: true

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.