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

Support relative local image path in markdown for docs. #2350

Closed
1 task done
shawnsarwar opened this issue May 22, 2024 · 1 comment
Closed
1 task done

Support relative local image path in markdown for docs. #2350

shawnsarwar opened this issue May 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@shawnsarwar
Copy link
Contributor

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

Currently, an absolute path of an image on the local filesystem can be resolved within the docs of a collection and shown via markdown. This isn't very useful since the absolute path is different for every git collaborator on the workflow.
Ideally local image path references in markdown would be resolved from the path of the .bru file which references them.

In the below example to resolve:
/Users/A200301325/Documents/projects/bruno-demo/workflows/Demo-0/_docs/diagram.svg
from:
/Users/A200301325/Documents/projects/bruno-demo/workflows/Demo-0/collection.bru
this should be a valid image reference:

 ![sadly I am broken...](./_docs/diagram.svg)

Mockups or Images of the feature

Screenshot 2024-05-22 at 13 11 37 Screenshot 2024-05-22 at 13 11 57
@helloanoop
Copy link
Contributor

Closing this as this was addressed in PR #2375

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants