executablebooks / myst-vs-code

A syntax highlighter for the MyST Markdown format
https://marketplace.visualstudio.com/items?itemName=ExecutableBookProject.myst-highlight
MIT License
35 stars 15 forks source link

Rendering MyST Markdown in Jupyter Notebook on VS Code #59

Open StefanoDeVuono opened 1 month ago

StefanoDeVuono commented 1 month ago

I'm running a Jupyter Notebook in VS Code and the MyST markdown cells are not displaying properly

I'd like the MyST markdown cell to render correctly. Here's how it should render:

expected

I've searched online for solutions, most posts about extending Jupyter on VS Code relate to running code in Notebooks as opposed to displaying markdown. The only thing I found specifically about MyST Markdown in Jupyter was from jupyterbook.org, which said to enable the this extension.

I have the following plugins installed in my pip environment:

# Requirements for building and deploying the textbook.
jupyter-book
ghp-import

# Requirements for building and deploying the textbook.
numpy
scipy
pandas
matplotlib

datascience
prob140
shapely
descartes
ipywidgets

The Jupyter and MySt extensions are enabled and the correct python virtual env is selected as the Jupyter kernel. Here's a MyST Markdown cell currently renders:

actual
welcome[bot] commented 1 month 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: