[Showcase] Stan embedded in Jupyter

I should note some of the prior art in this area:

  • Previous attempts:
    • The %%stan magic was first implemented for pystan by Jan Freyberge here. I adapted it to cmdstanpy - pystan users can probably still use his version with jupyterlab-stan-highlight, though I have not tested this
    • His efforts were preceded by Aravind, who implemented a basic version for the now-outdated Jupyter Notebook interface (see this forum post)
    • My syntax highlighter was based on a plugin for the stata language, discussed in this github issue for highlighting stan
1 Like