Relative path image support
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 61.6k
- Forks
- 4.6k
- Avg merge
- 23h 49m
- Merged PRs (30d)
- 89
Description
Describe your feature request
When I write blog in hugo, the image need handle by myself.I want to use marktext relative assets folder ability to make image automatic save to static/images folder, and in md file reference should be

I hope marktext can give a configuration to config the image save path and rewrite path.
For example,
globalImageFolder: ~/blog/static/images
rewriteFolder: /images
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. Start by locating MarkText's image insertion and configuration handling, then compare the requested globalImageFolder and rewriteFolder behavior with Hugo's static/images layout. Done means images can be saved to the configured folder and Markdown references use the configured rewritten path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- hugo, typescript
- Domain
- content, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100