How to execute python code on mystjs markdown file? #1037
Replies: 1 comment 3 replies
-
Haven't tried this combination before yet, and can confirm that it is not working locally, but also it is very close to working! There was a bug that @stevejpurves fixed that does require new templates (you can call Thebe loads, and executes the cells, but nothing is shown. @stevejpurves my guess is that we are not processing the If I put this node manually into the
Then it works with JupyterLite and matplotlib, etc. which is pretty cool actually. :) This allows anyone in the browser to execute the markdown notebook, I think that might be what you mean @fcarvalhopacheco? But you also might be wanting to pre-execute using the CLI? The pre-execute/cache is something that is not yet complete. |
Beta Was this translation helpful? Give feedback.
-
@rowanc1
Can I execute a python code inside a mystjs markdown file?
I have
test.md
with something like the following but it doest work:I have tried to add the following on my
myst.yml
I have also tried to add the following on the top of
test.md
:I can only execute the code on
.ipynb
but I cant combine multiple files...Beta Was this translation helpful? Give feedback.
All reactions