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

Adding class to img-base64 type #3

Closed
Amgelo563 opened this issue Oct 19, 2023 · 2 comments
Closed

Adding class to img-base64 type #3

Amgelo563 opened this issue Oct 19, 2023 · 2 comments

Comments

@Amgelo563
Copy link

Hi, is there a way the plugin could specify a class name when using the img-base64 type?

I'm currently trying to target the plugin's output using CSS, and unfortunately I can't do so without a class or anything like that. As a workaround, I'm wrapping it on a div, but it doesn't work when the image gets out of the div, like when using the docusaurus-plugin-image-zoom plugin and zooming in.

Thanks for the great plugin, this addition could really help me on my project.

@Airkro
Copy link
Member

Airkro commented Oct 24, 2023

Done in v0.2.10.

See: 4842d1e

@Amgelo563
Copy link
Author

This works perfectly, thanks!

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

No branches or pull requests

2 participants