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

图片插入问题 #4492

Closed
zznnqq210 opened this issue Aug 24, 2020 · 4 comments
Closed

图片插入问题 #4492

zznnqq210 opened this issue Aug 24, 2020 · 4 comments
Labels
non-english Requires the attention of a multi-lingual maintainer not following issue template plugin

Comments

@zznnqq210
Copy link

为啥我md里插入了图片,执行hexo g过后生成的图片路径变成了/.cn/xxx,不知道这个.cn怎么来的?
image
这个图片已经放入和md文件同名的一个文件夹下,且post_asset_folder也设置为true了,求助!
image

@SukkaW SukkaW added non-english Requires the attention of a multi-lingual maintainer not following issue template labels Aug 24, 2020
@JackEggie
Copy link

我也遇到了这个问题。

看上去是渲染的时候 asset 的 url 生成错误。我遇到的是在路径前面加了 .io,原因可能是 hexo 根配置中的 url 和 root 项的解析错误。

# URL
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: http://jackeggie.github.io/
root: /
permalink: :title/
permalink_defaults:
INFO  Start processing
update link as:-->/.io//git-workflows-gitflow.png
update link as:-->/.io//git-workflows-gitflow.png
update link as:-->/.io//%E6%B5%8B%E8%AF%95%E5%9B%BE%E7%89%87.jpeg
update link as:-->/.io//%E6%B5%8B%E8%AF%95%E5%9B%BE%E7%89%87.jpeg
update link as:-->/.io//jvm-memory-structure.png
update link as:-->/.io//jvm-memory-structure.png
INFO  Files loaded in 1.46 s

@jiangtj
Copy link
Member

jiangtj commented Sep 9, 2020

update link as:-->/.io//git-workflows-gitflow.png
update link as:-->/.io//git-workflows-gitflow.png
update link as:-->/.io//%E6%B5%8B%E8%AF%95%E5%9B%BE%E7%89%87.jpeg
update link as:-->/.io//%E6%B5%8B%E8%AF%95%E5%9B%BE%E7%89%87.jpeg
update link as:-->/.io//jvm-memory-structure.png
update link as:-->/.io//jvm-memory-structure.png

这个看起来是某个插件输出的,你能删除它再次测试么,如果没问题建议去插件的Repo提交相关issue

@stevenjoezhang
Copy link
Member

@stevenjoezhang
Copy link
Member

另见 xcodebuild/hexo-asset-image#47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-english Requires the attention of a multi-lingual maintainer not following issue template plugin
Projects
None yet
Development

No branches or pull requests

5 participants