bughelp wantedvscode
仓库指标
- 星标
- (18,676 个星标)
- PR 合并指标
- (平均合并 15天 4小时) (30 天内合并 75 个 PR)
描述
I reported this bug to the extension (https://github.com/microsoft/vscode-python/issues/11958) but they confirmed that this behavior does not happen in VSCode. Thus, it must be some issue with Theia.
Steps to cause the bug to occur
- Open theia using the python image
docker run -it --init -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia-python
- Start a python interactive session and enter this:
class A():
def _repr_latex_(self):
return "$\psi$"
- In next cell, run
A()to create an object of this class and have it be printed
Actual behavior
Latex is not rendered

Expected behavior
Latex should be rendered, like it is in markdown mode

Additional Information
- Jupyter server running: Local
- Extension version: 2020.1.58038
- Python and/or Anaconda version: 3.7.0