简体   繁体   English

如何减少 Jupyter Visual Studio Code Output 中的行间距?

[英]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.当我在 Jupyter visual studio 代码 output 中打印某些内容时,我想减少行之间的空间。

Current output当前 output

截屏

I would like an output like Jupyter when I use it in a browser当我在浏览器中使用它时,我想要一个像 Jupyter 一样的 output截屏

It looks like a new setting is being added to vscode v1.67:看起来 vscode v1.67 中添加了一个新设置:

notebook.outputLineHeight

See https://github.com/microsoft/vscode/commit/9a87fe7eaf2bcf29de4f5ec7c02044c410c95c0f参见https://github.com/microsoft/vscode/commit/9a87fe7eaf2bcf29de4f5ec7c02044c410c95c0f

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\我不确定 VSCode-Settings 是否允许用户自定义笔记本中的行高,但如果没有,您可以通过调整目录中index.js文件中的项目line-height来实现...\Microsoft VS Code\resources\app\extensions\notebook-renderers\renderer-out\

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM