title: What is the easiest way to share .html files with work colleagues in the Microsoft Ecosystem?
body: <p>I am a data analyst who works with R a lot. As a result, most of my outputs are in the form of  .html files (Rmarkdown, leaflet maps, plotly, d3.js, flexdashboard... etc).</p>
  <p>What is the easiest/most frictionless way I can share these files with my colleagues in any Microsoft application?</p>
  <p>For example, assume I have made the following leaflet map which I want to share with someone at work:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"/&gt;
    &lt;script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id="map"&gt;&lt;/div&gt;
    &lt;style&gt;#map { height: 200px; }&lt;/style&gt;
    &lt;script language="javascript" type="text/javascript"&gt;
        var center = [-33.8650, 151.2094];
        var map = L.map('map').setView(center, 3);
        L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {maxZoom: 18}).addTo(map);
        L.marker(center).addTo(map);
    &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I can't seem to find <strong>anywhere</strong> in the Microsoft ecosystem (Teams, Sharepoint, Onedrive, Power BI... etc) where I can easily display the contents of this file. For example, if I upload the file to Teams, Sharepoint or Onedrive, there is no way that any of these applications can preview the contents of the file. The following image is what happens when I open it in either Teams, Sharepoint or Onedrive:</p>
  <p><a href="https://i.stack.imgur.com/YUJtl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YUJtl.png" alt="enter image description here" /></a></p>
  <p>Therefore, you would have to download every file locally and open in a browser. This is not an ideal solution. I can't host these online either as the data is private. Where is the best place to put these files in order to share with my colleagues easily?</p>