Link 到 VSCode .ipynb 笔记本中的文件

Link to files in VSCode .ipynb notebooks

我正在尝试将 link 放入笔记本中降价单元格中的文件,例如:

See [feature scaling notes](feature_scaling_notes.md)

文件 feature_scaling_notes.md 与 .ipynb 文件位于同一文件夹中。

创建了一个 link,但是当我单击它时,没有打开文件,而是打开了浏览器 window,地址为:

https://file+.vscode-resource.vscode-webview.net/...(file path)

如何使文件以正确的方式打开?

谢谢。

v1.63 中加入了笔记本中的文件链接,请参阅 release note: file links in notebooks

Markdown inside notebooks can now link to other files in the current workspace

Links the start with / are resolved relative to the workspace root. Links that start with ./ or just start with a filename are resolved relative to the current notebook.

[link text](./cat.gif)

Bare http(s) links notebooks

In addition, markdown text that looks like an http and https is now automatically turned into a link: