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

Use imsize in browser? #10

Open
paul-bell opened this issue May 14, 2018 · 1 comment
Open

Use imsize in browser? #10

paul-bell opened this issue May 14, 2018 · 1 comment

Comments

@paul-bell
Copy link

Perhaps related to the browserify questions.

Is there any way to make markdown-it-imsize work in client side?

Thank you.

@JRileyH
Copy link

JRileyH commented Nov 26, 2019

This repo is apparently dead. Reading the code it seems like this is the simplest of all fixes though, you just kill the autofill feature which uses fs to measure the image.. Seems like kind of a dumb feature to break browser support in what should be the simplest plugin ever.

Anyways I made a fork for my own uses: https://github.com/JRileyH/markdown-it-imsize

People stumbling on this issues can look at what I did and copy if they like. (Or reboot this plugin to actually work well if you've got the time 🙏 )

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

2 participants