You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jupyter Extension version (available under the Extensions sidebar): v2024.3.1
Python Extension version (available under the Extensions sidebar): v2024.4.1
OS (Windows | Mac | Linux distro) and version: Fedora 40
Python and/or Anaconda version: 3.11
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local
Expected behaviour
When a code block (here, Python) is added to a markdown cell using triple quotes, the block is formatted as code with appropriate language coloration when specified. Here is a working example in a browser-based Jupyter notebook:
Actual behaviour
In VSCode, the block is not well defined and does not include language coloration despite the language being specified with the code block. It looks really terrible, almost as if inline code formatting is being used on the block. If this is the case, it is not the correct encoding.
Note that this is independent of which theme is being used in VSCode. They all look similar to this, but using the dominant colors of the theme being used.
Steps to reproduce:
Create a code block inside of a markdown cell using the triple quote notation (and language label, optionally)
The text was updated successfully, but these errors were encountered:
Environment data
Expected behaviour
When a code block (here, Python) is added to a markdown cell using triple quotes, the block is formatted as code with appropriate language coloration when specified. Here is a working example in a browser-based Jupyter notebook:
Actual behaviour
In VSCode, the block is not well defined and does not include language coloration despite the language being specified with the code block. It looks really terrible, almost as if inline code formatting is being used on the block. If this is the case, it is not the correct encoding.
Note that this is independent of which theme is being used in VSCode. They all look similar to this, but using the dominant colors of the theme being used.
Steps to reproduce:
Create a code block inside of a markdown cell using the triple quote notation (and language label, optionally)
The text was updated successfully, but these errors were encountered: