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

Add ability to print alternative text instead of error message for rst :image: directive #409

Closed
1 task done
Timm638 opened this issue May 15, 2023 · 1 comment
Closed
1 task done

Comments

@Timm638
Copy link
Contributor

Timm638 commented May 15, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Your suggestion

When rinohtype fails to render an image with an web url, it currently renders the error message into the pdf.

minimal_README.pdf
Source .rst: minimal_README.zip

I think that there should be an option to print the :alt: text of the image if one exists, since the HTML output of Sphinx does that:
grafik

I'm adding a pull request for a fork of mine, which implements this suggestion and produces following result:
minimal_README.pdf

@Timm638
Copy link
Contributor Author

Timm638 commented Jul 7, 2023

Closed, since the pull request #410 was merged.

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

No branches or pull requests

1 participant