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

relative path referencing of images #5505

Open
2 tasks done
chen-qingyu opened this issue Jun 25, 2024 · 1 comment
Open
2 tasks done

relative path referencing of images #5505

chen-qingyu opened this issue Jun 25, 2024 · 1 comment

Comments

@chen-qingyu
Copy link

Check List

  • I have already read Docs page.
  • I have already searched existing issues.

Feature Request

Once enabled, an asset image will be automatically resolved to its corresponding post’s path. For example, “image.jpg” is located at “/2020/01/02/foo/image.jpg”, meaning it is an asset image of “/2020/01/02/foo/“ post, ![](image.jpg) will be rendered as <img src="/2020/01/02/foo/image.jpg">.

This makes it impossible to preview images in the local markdown editor like vscode.

Many plugins have been created to solve this problem, such as one I wrote: hexo-markdown-image.

Hope to native support relative path referencing of images: ![](foo/image.jpg).

Others

No response

@uiolee uiolee changed the title Support Markdown image insertion syntax. relative path referencing of images Jun 25, 2024
@lmliheng
Copy link

lmliheng commented Jul 18, 2024

Yes, I have also encountered this problem. Why do some themes write the path as dead 😥😥

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

No branches or pull requests

3 participants