We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Asset Script:
from pharaoh.assetlib.api import register_asset register_asset("C:/temp/image with whitespace.png", metadata={"id": "myimage"})
Template:
.. pharaoh-asset:: id == "myimage"
This will fail with an error like this:
internal padding after C:\git\...\index.rst:6: WARNING: image file not readable: .asset_build/ImageGallery/imagewithwhitespace_bba7153e.png
After replacing the whitespace in the filename with _ everything works as expected.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Asset Script:
Template:
This will fail with an error like this:
After replacing the whitespace in the filename with _ everything works as expected.
The text was updated successfully, but these errors were encountered: