VSCODE .NET交互式笔记本导出到HTML时隐藏代码

发布于 2025-02-06 19:22:50 字数 839 浏览 0 评论 0原文

在Visual Studio代码中导出.NET交互式笔记本时,如何隐藏代码单元格?

例如,

我想导出输出,即latex显示部分 “

同时排除实际代码单元格< a href =“ https://i.sstatic.net/0abo2.png” rel =“ nofollow noreferrer”> 从出口出口。

我找到了这个问题对于jupyter笔记本似乎使其适用于VScode。

目前,我最好的选择是将整个文件导出到HTML,然后手动排除不需要的元素。

How do I hide the code cell when exporting .net interactive notebooks in visual studio code?

For instance,
enter image description here

I'd like to export the output, which is the latex display part enter image description hereof the example above,

while excluding the actual code cell enter image description herefrom being exported.

I found this question for Jupyter notebook but I can't seem to make it work for vscode.

My best option, for now, is to export the whole file to HTML and then manually exclude the elements that are not needed.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文