【问题标题】:Change mimetype for VSC Jupyter Notebook ouput更改 VSC Jupyter Notebook 输出的 mime 类型
【发布时间】:2021-10-03 21:24:14
【问题描述】:

我想将 VSC 中的输出格式从 html 更改为 plain。我注意到我可以对单个单元格执行此操作,如下所示,但我想知道是否可以更改整个文件的 settings.json。我正在使用 Jupyter Notebook。

【问题讨论】:

  • 这里有同样的问题。你有没有偶然发现它?
  • 嗨@shkelda,很遗憾没有

标签: visual-studio-code jupyter-notebook


【解决方案1】:

从 vscode 笔记本控制台 点击"customize notebook layout"

点击"editting settings.json"

您应该会看到如下内容:

{"workbench.colorTheme": "Default Dark+",
"editor.fontSize": 16,
"notebook.lineNumbers": "on",
"notebook.output.textLineLimit": 50,
"notebook.editorOptionsCustomizations": null,
"terminal.integrated.inheritEnv": false,
"notebook.displayOrder": ["image/png", "text/plain"]}

用您喜欢的输出格式顺序更新最后一行。

【讨论】:

    猜你喜欢
    • 2022-10-28
    • 2010-09-14
    • 1970-01-01
    • 2018-11-25
    • 1970-01-01
    • 2014-10-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多