Q: Setting image width in table vs main text is not the same in RMarkdown I have an image I'm putting in a table and the size is completely different for the HTML version compared to the PDF. I prefer the PDF version but don't know how to make the HTML get the same size as the image in the main text (the image in table is oto small).
---
title: "Untitled"
output:
  pdf_document: default
  html_document: default
date: "`r Sys.Date()`"
---

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

| Icônes    | Explications      | Exemple |
|:-------------|:-----------------------|:--------------------------|
| ![](../../../images/icones_Rstudio/cancel_2x.png){width="5%"}     | `R` est en exécution    | NA  |

main 

![](../../../images/icones_Rstudio/cancel_2x.png){width="5%"}

The image I used is here. How to make the image size in the table the same without changing the width parameter? I output both HTML and PDF from the same RMarkdown and I don't want to have 2 different files to set the size of these images... so in the end, the images in the HTML should be like the one in the PDF.

