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

Copy img in html tag #496

Closed
wants to merge 4 commits into from
Closed

Conversation

MartenBE
Copy link
Contributor

I use <img ... /> tags so I can rescale them using width, height or style="width: ...; height: ..." attributes. Although the live server shows everything fine, the static website missed all the images declared in this way. Upon further inspection, the regex to detect images only detects markdown images and not HTML <img> tags. This PR should enable both.

Copy link

pkg-pr-new bot commented Aug 26, 2024

commit: 1534803

npm i https://pkg.pr.new/webpro/reveal-md@496

Open in Stackblitz

@MartenBE
Copy link
Contributor Author

MartenBE commented Aug 26, 2024

Damn, I created the PR first and then saw that a PR for this already exists: #493 :p I think this PR is the really really lightweight version (+/- 5 changed lines) of that one

@webpro
Copy link
Owner

webpro commented Aug 30, 2024

Thanks @MartenBE! Except that it also contains the dependency updates. We can just merge that one first once its ready, or fix up this one separately. Up to you, happy to merge either way.

@MartenBE
Copy link
Contributor Author

You can merge the dependancies now, then this PR. I've merged it together.

@webpro
Copy link
Owner

webpro commented Aug 31, 2024

Cherry picked in 358f162

@webpro webpro closed this Aug 31, 2024
@webpro
Copy link
Owner

webpro commented Aug 31, 2024

Thanks for the fix @MartenBE! Much appreciated.

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

Successfully merging this pull request may close these issues.

2 participants