Skip to content
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

Markdown图片路径为什么需要带?raw=1,标准的Markdown文件无法显示图片。 #6050

Open
CongAn opened this issue May 3, 2024 · 0 comments

Comments

@CongAn
Copy link

CongAn commented May 3, 2024

const re = new RegExp(serviceURL + '/lib/' + repoID +'/file.*raw=1');

问题与影响

  • 我之前都在Obsidian上进行创作,图片都是相对路径存储在md文件所在目录,使用相对路径。
  • 当我将md文件目录拷贝到seafile上时,必须在路径末尾后添加 ?raw=1 才能预览图片。
  • Obsidian并不会为我的图片添加末尾后添加 ?raw=1,但是它是我的主要Markdown编辑器 。
  • ?raw=1似乎不是Markdown的标准。
  • 我无法理解为什么要这么做?能告诉我吗?

期望

如果没有影响我希望去除 ?raw=1的URL匹配。

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

1 participant