title: Self-Contained reveal.js file without relative reveal.js folder using Pandoc
body: <p>I am having trouble producing a self-contained reveal.js slideshow with Pandoc when the reveal.js folder is not relative to the markdown file.</p>
  
  <p>A simple Markdown file, Tester.md:</p>
  
  <pre><code># Title Slide
  
  # Second Slide
  More stuff happening here
  
  # Some more stuff
  Hello
  </code></pre>
  
  <p>The reveal.js folder is located at "c:/Users/Jared/Documents/reveal.js".</p>
  
  <p>Running </p>
  
  <pre><code>pandoc -s -S -t revealjs Tester.md -o TesterReveal.html -V revealjs-url:c:/Users/Jared/Documents/reveal.js
  </code></pre>
  
  <p>creates an HTML file that links to the appropriate reveal.js folder and everything works just fine.</p>
  
  <p>However, if I set <code>--self-contained</code> Pandoc returns an error.</p>
  
  <pre><code>pandoc -s -S -t revealjs Tester.md -o TesterReveal.html -V revealjs-url:c:/Users/Jared/Documents/reveal.js --self-contained
  
  pandoc.exe: Failed to retrieve c:/Users/Jared/Documents/reveal.js/css/reveal.min.css
  InvalidUrlException "c:/Users/Jared/Documents/reveal.js/css/reveal.min.css" "Invalid scheme"
  </code></pre>
  
  <p>Setting <code>--self-contained</code> works fine if the reveal.js folder is relative to Tester.md.</p>
  
  <p>So I imagine the combination of <code>--self-contained</code> and <code>-V revealjs-url:c:/Users/Jared/Documents/reveal.js</code> is the culprit.</p>
  
  <p>Any ideas how to keep the reveal.js folder in its own place and still have <code>--self-contained</code> work properly.  I feel that copying the reveal.js folder into every presentation I do is not a good practice.</p>