IN R MARKDOWN, How Can I add a background image (HTML output)?

Viewed 4224

The image should be instead of the black background

I'm trying to put an image as background for my R markdown document (HTML output) Instead of the black background. I Was searching everywhere in the documentation on how to do this but I can't seem to find any answer as it's my first time working with R Markdown.

I can't seem to know how to put the background image and how to divide it that way so I can have my content in the middle

I'm also trying to attach a Hyperlink to tablist option,in the Picture2 as you can see "Source" as for when I click on it, it directs me to an external page but ## [Source] ("github.com/example") isn't working which was the syntax in the documentation.

enter image description here

this is my code till now .. I hope you can help me with these two questions, it's again : - How to set a background image to an HTML output on the whole page like the black background and how can I make the click on " Source " or TabItem directs me to an external link?

Thank you

    ---
title: "Title"
author: "Nessy"
date: "2 3 2020"
output:
  rmarkdown::html_document:
    theme: lumen
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
# {.tabset .tabset-fade}

## Analysis

## Source
1 Answers
Related