jupyter-book / jupyterlab-myst

Use MyST Markdown directly in Jupyter Lab
https://jupyter-book.github.io/jupyterlab-myst/
BSD 3-Clause "New" or "Revised" License
141 stars 16 forks source link

You only show examples with iPython kernel, can other kernels use this? #225

Closed cjwomack closed 5 months ago

cjwomack commented 6 months ago

You only show examples with iPython kernel, is there support for other kernels?

Do other kernels need to modified to offer support for this?

Just was experimenting with this...

As a personal use case, I'm currently using jupyterlab-myst 1.2.0 as official matlab kernel hasn't migrated to Jupyter Lab 4 as well as matlab Metakernel https://github.com/Calysto/matlab_kernel

welcome[bot] commented 6 months ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

rowanc1 commented 6 months ago

Any kernel that works with Jupyter will also work with JupyterLab MyST! They shouldn't need to add specific support as this extension only enhances the markdown side of Jupyter's native experience.

There may be some potential improvements to be made to suppor the inline execution ({eval} roles), however, that is also basic functionality in the Jupyter protocol, so should hopefully work out of the box!

cjwomack commented 5 months ago

I didn't find it to work... Different time zone prevents me from elaborating at the moment. Non critical issue for me though so no worries

agoose77 commented 5 months ago

Please do elaborate here if you find time, it would be good to look into any issues here. I'm assuming that you're trying to use the expressions support in the Calysto kernel?

I looked at the MatLab extension. I think you can install the latest version with JupyterLab 4, it just means that the Lab plugin won't work properly.

It might be that the kernel doesn't implement expressions support, though; we can separately look into that.