-
Notifications
You must be signed in to change notification settings - Fork 238
Allow to fetch images from an URL in <img> src #95
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
Conversation
@microsoft-github-policy-service agree |
Looks excellent. Would you add tests and update tsdoc for this feature? |
Updated docs and added a test for URL image fetching. |
please pull from main and fix the tests. |
function generatePythonFile(jsonData: ComponentSpec[]): string { | ||
let pythonCode = `# This file is auto-generated from component documentation. | ||
# Do not edit manually. Run \`npm run build-comment\` to regenerate. | ||
# Do not edit manually. Run \`npm run docs:build\` to regenerate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert unnecessary changes.
The tests need to be fixed before merging. |
fixed tests for image fetching in Webpage |
I've just created an image url for the testing, please use this one: Also merge from main again. Apologize for the prettier just merged. |
updated the image URL for testing |
Implementation that allows to set
src
in a<img>
tag to the URL of an image.