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

Option to save the generated image a a relative path #1162

Open
revati-naik opened this issue Apr 2, 2024 · 1 comment
Open

Option to save the generated image a a relative path #1162

revati-naik opened this issue Apr 2, 2024 · 1 comment

Comments

@revati-naik
Copy link

I am using the sphinx-markdown-builder and in the output markdown file, I see the tag for needpie. However, the path to the image file is absolute. Can we instead have a relative path?

Can we set the path to save the image via a tag in needpie?

The output I see is

![image](/home/firstname.lastname/some/path/need_pie.png
@danwos
Copy link
Member

danwos commented Apr 2, 2024

I'm not sure if we can do here much, as needpie is generating relative paths for the default builders like html. So from my point of view the functions works as expected.
And I can't say, why this is not working with sphinx-markdown-builder.

Maybe someone can help here and knows some internal details about sphinx-markdown-builder.

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

No branches or pull requests

2 participants