[Bug] Inline images now broken when specifying both height in Github Markdown Preview #193018
Replies: 4 comments 3 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Please try with Preview
response is above
|
Beta Was this translation helpful? Give feedback.
-
|
Just came across this community post. I had created a ticket to GitHub just 20 minutes ago. ID is 4326721 While they are yet to respond, I have a workaround as seen below. If they respond, I will add as a reply to this comment. Current broken code<p align="left"><a href="https://developer.android.com" target="_blank"><img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/android/android-original.svg" alt="android" width="40" height="40"/></a><a href="https://www.arduino.cc/" target="_blank"><img src="https://cdn.worldvectorlogo.com/logos/arduino-1.svg" alt="arduino" width="40" height="40"/></a><a href="https://aws.amazon.com" target="_blank"><img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/amazonwebservices/amazonwebservices-original-wordmark.svg" alt="aws" width="40" height="40"/></a></p>Current broken previewWorkaround code<table>
<tr>
<td><a href="https://developer.android.com" target="_blank"><img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/android/android-original.svg" alt="android" width="40" height="40"/></a></td>
<td><a href="https://www.arduino.cc/" target="_blank"><img src="https://cdn.worldvectorlogo.com/logos/arduino-1.svg" alt="arduino" width="40" height="40"/></a></td>
<td><a href="https://aws.amazon.com" target="_blank"><img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/amazonwebservices/amazonwebservices-original-wordmark.svg" alt="aws" width="40" height="40"/></a></td>
</tr>
</table>Workaround preview |
Beta Was this translation helpful? Give feedback.
-
|
In addition to the display:block (which is what I think is breaking inline) there now seems to be |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
Body
Setting height and width for each image, then wrapping them with a
<p>tag used to display them inline (it still does on vscode preview) . Now when previewing on github inline is broken and each img is in a new line.example:
expected preview (github used to do this):
actual (new) preview in github:
workaround (if anyone had same problem):
I just set either height or weight, not both. This is still not a solution for inline images if you want forced properties (i.e: break the image aspect ratio)
Beta Was this translation helpful? Give feedback.
All reactions