title: how to compile a shiny html
body: <p>I am trying to run the example from :
  <a href="https://bookdown.org/yihui/rmarkdown/interactive-documents.html#intro-shiny" rel="nofollow noreferrer">https://bookdown.org/yihui/rmarkdown/interactive-documents.html#intro-shiny</a></p>
  <p>and I get an error:</p>
  <pre><code>/usr/bin/pandoc +RTS -K512m -RTS f2.knit.md --to html4 --from
  markdown+autolink_bare_uris+tex_math_single_backslash --output f2-
  exported.html --lua-filter /home/stephen/R/x86_64-pc-linux-gnu-
  library/4.0/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter
  /home/stephen/R/x86_64-pc-linux-gnu-
  library/4.0/rmarkdown/rmarkdown/lua/latex-div.lua --self-contained --
  variable bs3=TRUE --standalone --section-divs --template
  /home/stephen/R/x86_64-pc-linux-gnu-
  library/4.0/rmarkdown/rmd/h/default.html --no-highlight --variable
  highlightjs=1 --id-prefix section- --variable theme=bootstrap --
  include-in-header /tmp/RtmpZfQj5e/rmarkdown-str9fc913622905.html --
  mathjax --variable 'mathjax-url:
  https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
  
  File shared/selectize/css/selectize.bootstrap3.css not found in
  resource path
  Error: pandoc document conversion failed with error 99
  </code></pre>
  <p>the file is in:</p>
  <pre><code>$ find ~ -name *.bootstrap3.css
  /home/stephen/R/x86_64-pc-linux-gnu-
  library/4.0/shiny/www/shared/selectize/css/selectize.bootstrap3.css
  </code></pre>
  <p>and I tried adding</p>
  <pre><code>css: &quot;/home/stephen/R/x86_64-pc-linux-gnu-library/4.0/shiny/www/shared/selectize/css/&quot;
  resource-path: &quot;/home/stephen/R/x86_64-pc-linux-gnu-library/4.0/shiny/www/shared/selectize/css/&quot;
  </code></pre>
  <p>in the meta section, but it did not do much. then I tried adding to my
  pandoc setup in .emacs and that simply got ignored, I did not see the
  option listed in the <em>polymode export</em> buffer. I tried this:</p>
  <pre><code>'(markdown-command
    (concat &quot;pandoc&quot; &quot; --from=markdown --to=html&quot; &quot; --standalone --mathjax --highlight-style=pygments&quot; &quot; --resource-path=/home/stephen/R/x86_64-pc-linux-gnu-library/4.0/shiny/www/&quot;))
  </code></pre>
  <p>Does anybody know how to get around this? I need to tell pandoc where to find the css, preferably in the meta section.
  Thanks everybody
  Stephen</p>