knitr
------------
OK, I didn't realize that when I to this:
> knit("foo.Rmd")
it produces a markdown file and directory of figures:
foo.md
figure/*.png
The figures were only 100K and 40K.
The markdown can be hosted directly on GitHub. Then when
you view the file, GitHub will do the translation from
markdown (.md) to HTML.
See the second example here for a demo:
http://yihui.name/knitr/demo/minimal/
But I don't know how to get the LaTeX to render. If I just
push it and look at in the branch, here's what I get:
https://github.com/stan-dev/example-models/blob/issue-34-case-study-egs/knitr/efron-morris/pool-no-pool.md
No rendering. And it looks like GitHub doesn't want to
render MathJax due to security concerns (don't know what
those are).
Another option is to use pandoc directly to generate HTML.
I'm guessing that's what Rstudio is doing. And Rstudio is
getting the MathJax to work.
I looked up MathJax, and it's primarily client-side. They just
released 2.6 (as in today!):
https://www.mathjax.org/mathjax-v2-6-now-available/
which has server-side support. But unless we run our own servers,
I don't see how that's going to help.
Jupyter
-------
I should probably figure out how to use Jupyter. Could someone else
see what it produces for output? We don't want to host modifiable or
runnable Jupyter docs on
mc-stan.org, just HTML (or .md that converts
to HTML) that we can read. Then we want to make the source available.
- Bob