---
format: 
  html:
    embed-resources: true
params:
  recipe: NULL
  videoid: NULL
---

```{r}
#| eval: false
#| echo: false
#| label: setup
library(shiny)
```

# Ur recipe

<!-- video thumbnail image -->
```{r}
#| echo: false
#| label: thumbnail
shiny::tags$p(
  align = 'center',
  shiny::tags$img(src=paste0('https://img.youtube.com/vi/',params$videoid,'/0.jpg'))
)
```

<!-- recipe -->
```{r}
#| results: asis
#| echo: false
#| label: recipe
cat(params$recipe)
```



<!--
```{r, results='asis'}
# library(httr)
# url="https://gist.githubusercontent.com/rt2zz/e0a1d6ab2682d2c47746950b84c0b6ee/raw/83b8b4814c3417111b9b9bef86a552608506603e/markdown-sample.md"
# response=GET(url)
# cat(content(response))
``` 
-->
