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

Option to ignore errors from image-size #15

Open
wangpin34 opened this issue Jul 3, 2023 · 0 comments
Open

Option to ignore errors from image-size #15

wangpin34 opened this issue Jul 3, 2023 · 0 comments

Comments

@wangpin34
Copy link

Dear team,
I have a internal doc website that use this plugin to get dimensions for all the images. Unfornatlly some of the SVG files are not successful handled by the underneath pkg named image-size that is used by the plugin. Then the whole process was aborted by the processor of unified js.

The reasonable fix would be an an option to the plugin so the developers could make choice on their own, either failed and exited, or going forward like my case.

Do you guys this would be a reasonable feature?

Additional information

rehype-img-size version: 1.0.1
platform: Windows 11
framework: unifiedjs, remark-rehype

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

No branches or pull requests

1 participant