---
title:"Rmarkdown with shiny"
output: html_document
runtime: shiny
---
```{r setup, include = FALSE}
library(knitr)
library(shiny)
library(here)
shiny::addResourcePath(prefix ="www", directoryPath = here::here("www"))
```
Relative File Path: [My HTML file](www/my_file.html)
Relative File Path: My HTML file
Absolute File Path: shinyapps.io
Relative File Path:
```{r shiny-relative-links, echo = FALSE, eval = TRUE}
tags$a(href="https://www.codenong.com/60326689/www/my_file.html",
tags$span(style ="color: #03a9f4","My HTML file"),
target ="_blank")
```
Absolute File Path:
```{r shiny-absolute-links, echo = FALSE, eval = TRUE}
tags$a(href="http://www.shinyapps.io/",
tags$span(style ="color: #03a9f4","shinyapps.io"),
target ="_blank")
```