'How to reduce the space between the lines in Jupyter Visual Studio Code Output?
I want to reduce the space between the lines when I print something in Jupyter visual studio code output.
Current output
I would like an output like Jupyter when I use it in a browser
Solution 1:[1]
It looks like a new setting is being added to vscode v1.67:
notebook.outputLineHeight
See https://github.com/microsoft/vscode/commit/9a87fe7eaf2bcf29de4f5ec7c02044c410c95c0f
Solution 2:[2]
I'm not sure if VSCode-Settings has allowed users to customise the line height in Notebooks, but in case it hasn't, you may do so by adjusting the item line-height
in the file index.js
in the directory ...\Microsoft VS Code\resources\app\extensions\notebook-renderers\renderer-out\
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Mark |
Solution 2 | SherylHohman |