-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add Code Execution capability for MyST #16
Comments
thanks @teonbrooks 100% agree, and actually I have wrote a much more "in-depth" language server extension, using python-language-server., for rST that I would like to port more of into here: https://github.com/chrisjsewell/rst-language-server. |
I opened an issue in https://github.com/microsoft/vscode-python/issues/13568 I think it would be a lot nicer if the preview included the executed code, though, although not sure if that's the same as this issue. |
@amichuda I created an issue and we've had some conversation in the thread here https://github.com/microsoft/vscode-python/issues/14226. I started to tinker around with it but i haven't had any spare cycles yet to work on it. we could probably collapse this down to one issue and i identify the steps needed to make it happen |
This looks really promising. Thank you! But is your vision here that it would just run the code in the interactive window? If the markdown were to be rendered in the interactive window as well, it would need to interpret myst markdown right? In any case, this is looking really good! |
Is your feature request related to a problem? Please describe.
It would be great if we could adapt the code execution for Python chunks using the similar implement as vscode-python. With that extension, you could press Cmd+Enter to run the code within the kernel in the editor. This would give a great level of interactivity while writing in MyST.
Describe the solution you'd like
Add code execution capability to MyST extension.
Describe alternatives you've considered
It may be more desirable to add this directly vscode-python. It currently supports jupyter notebook and python scripts with percent sign code chunk delimiters (%%). perhaps the addition of ```python syntax there would be more applicable.
The text was updated successfully, but these errors were encountered: