Closed maple3142 closed 3 years ago
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
You can try this plugin: hexo-img-locator
For file structure like this:
_posts/
|
- Some-Title/
|
- index.md (Markdown file of this post)
|
- Assets of Some-Title, e.g. example.png
You can simply use ![](example.png)
in index.md
Check List
Please check followings before submitting a new issue.
hexo version
to check)Question
This page said you can use Post Asset Folder to structure your posts like this:
And this what I am currently using. The problem is this is getting messier with the number of the posts increasing, and it is not friendly to VSCode's markdown preview either. (Unable to display images)
I think these problems could be solved if it can be reorganized like this:
Each article belongs to
index.md
in their Post Asset Folder.I tried to do this, but the problem is Hexo will generate the html in this structure:
It if possible to make it generate the following strucutre while using the latter one (
index.md
method)?Environment & Settings
Node.js & npm version
Your site
_config.yml
(Optional)Your theme
_config.yml
(Optional)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others