[Question] How I setup a base path for img or url that use relative path ? #135

Open
opened 2026-01-29 14:28:24 +00:00 by claunia · 0 comments
Owner

Originally created by @John0King on GitHub (Sep 15, 2017).

I'm new to this project, and I try to render a markdown file through MVC.
I need to config the relative path to a absolute path such like ![](image/imageName.jpg) => <img src="/doc/?path=imageName.jpg" /> .
Is there a way to do this ? Thanks.

Originally created by @John0King on GitHub (Sep 15, 2017). I'm new to this project, and I try to render a markdown file through MVC. I need to config the relative path to a absolute path such like `![](image/imageName.jpg)` => `<img src="/doc/?path=imageName.jpg" />` . Is there a way to do this ? Thanks.
claunia added the enhancementPR Welcome! labels 2026-01-29 14:28:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#135