Making htmlwidgets in Rmarkdown mobile friendly
<p>The default options of rmarkdown is to set the fig.width = 12.  I would like it to auto-adujust for the width of a mobile device if this is possible. </p>

<p>I'm hosting the following Rmarkdown at <a href="http://akdata.org/misc/leafletmobile">http://akdata.org/misc/leafletmobile</a></p>

<pre><code>---
title: "Untitled"
output: html_document

---


```{r}      
  library(leaflet)
  leaflet() %&gt;% addTiles()
``
</code></pre>

<p>It will adjust to the width of the screen when I play with different mobile devices in chrome devtools though. I have a physical Samsung Galaxy 5 that I'm testing with. </p>