Skip to content

图片不支持绝对路径 #373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sunhongfan opened this issue Mar 20, 2025 · 3 comments
Open

图片不支持绝对路径 #373

sunhongfan opened this issue Mar 20, 2025 · 3 comments

Comments

@sunhongfan
Copy link

Version: 1.15.1
Macos:15.3.2 (24D81) ARM
已经给妙言添加了文件完全访问权限。

源代码:

Image

预览模式:

Image
@sunhongfan
Copy link
Author

@tw93 麻烦大佬有空指点一下,是使用问题导致的吗

@tw93
Copy link
Owner

tw93 commented Mar 21, 2025

有办法支持,试试看,你copy一张图片,然后到编辑器里面复制一下,就可以看到相对路径了,不过我很建议用oss的方式

Image

@sunhongfan
Copy link
Author

有办法支持,试试看,你copy一张图片,然后到编辑器里面复制一下,就可以看到相对路径了,不过我很建议用oss的方式

Image

我尝试过这样,/i/xxx.png 这里的 i 是当前 md 文件的相对目录,我指的是从 Unix / 开始的绝对路径。

很喜欢作者的妙言,符合我的审美,非常漂亮,我只是不解为什么不能识别,但是不影响正常使用,通常我的本地知识库会在 Wiki 目录下创建一个 images, 这样 md 中就可以使用 ../images/xxx.png 这样方便迁移。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants