title: Embed image in HTML r markdown document that can be shared
body: <p>I have an R markdown document which is created using a shiny app, saved as a HTML. I have inserted a logo in the top right hand corner of the output, which has been done using the following code: </p>
  
  <pre><code>&lt;script&gt;
     $(document).ready(function() {
       $head = $('#header');
       $head.prepend('&lt;img src=\"FILEPATH/logo.png\" style=\"float: right;padding-right:10px;height:125px;width:250px\"/&gt;')
     });
  &lt;/script&gt;
  </code></pre>
  
  <p>However, when I save the HTML output and share the output, of course the user cannot see the logo since the code is trying to find a file path which will not exist on their computer. </p>
  
  <p>So, my question is - is there a way to include the logo in the output without the use of file paths? Ideally I don't want to upload the image to the web, and change the source to a web address. </p>