Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple kernel support #79

Open
vishwesh5 opened this issue Aug 24, 2018 · 5 comments
Open

Multiple kernel support #79

vishwesh5 opened this issue Aug 24, 2018 · 5 comments

Comments

@vishwesh5
Copy link

Hi!

I am trying to display codes in two or more different programming languages on the same webpage. Is it possible to use multiple kernels in thebelab?

Thanks

@nthiery
Copy link
Collaborator

nthiery commented Aug 24, 2018 via email

@vishwesh5
Copy link
Author

Thanks for the reply @nthiery ! I will wait for @minrk's reply. 😃 Meanwhile, I think only option is to create separate webpage for the separate programming languages.

@vishwesh5
Copy link
Author

One similar issue was posted on thebe github repo. But even there it's one kernel per page :(

@mathieuboudreau
Copy link

This can be done with the ScriptOfScripts kernel. I got it running with Thebelab in a demo Jupyter Book (Octave/Matlab + Python cells, data being transferred between them) by simply switching out the "sos" tags in the markdown that were generated by "python" manually (this might be a Jupyter Book-specific step I think).

Live demo: https://mathieuboudreau.github.io/introML-book/01/mvp_sos.html
Repo (contains Dockerfile with all settings for SoS): https://github.com/mathieuboudreau/introML-book

@bionicles
Copy link

@mathieuboudreau links down !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants