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文件图片预览及显示问题 #987

Open
seff opened this issue Dec 5, 2023 · 2 comments
Open

markdown文件图片预览及显示问题 #987

seff opened this issue Dec 5, 2023 · 2 comments

Comments

@seff
Copy link

seff commented Dec 5, 2023

主要表现在,一是浏览器打开网页预览图片能正确下载,但不能正确显示;二是android客户端不能正确下载图片,显示为链接错误图标。图片使用的是svg格式,且放在markdown文件同级子目录下。
注:使用vscode在本地编辑同步目录下的markdown文件能正确预览该图片。

经测试,android客户端貌似本来就不能正确显示svg图片?

@zhwanng
Copy link
Contributor

zhwanng commented Dec 7, 2023

前端、移动端目前对 svg 的支持不是很完善,APP 的 markdown 对图片的支持也不是很完善,这个问题在后面可能会有计划完善一下。你可以先使用其它图片格式。

@seff
Copy link
Author

seff commented Dec 10, 2023

建议图片等资源文件使用相对路径,使用绝对路径不便于本地或转移到其他地方使用。

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