pystitch / stitch

Write reproducible reports in Markdown
https://pystitch.github.io
MIT License
441 stars 13 forks source link

DOC: Using stitch with other libraries #45

Closed TomAugspurger closed 8 years ago

TomAugspurger commented 8 years ago

We show matplotlib / seaborn in the documentation. Could be useful to show other libraries like Bokeh, Altair, Holoviews, etc.

Need to figure out a way of handling those extra JS libraries. One option is to just document how to include them with pandoc: Make a file (say header.js) with these contents

  <script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.1/require.min.js"></script>

And include it with

stitch foo.md -o foo.html --no-self-contained -H header.js

Most of these don't play well with self-contained :/

TomAugspurger commented 8 years ago

Closed by #46