-
-
Notifications
You must be signed in to change notification settings - Fork 182
Marked dropped IE11 Support #210
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
Comments
Thanks for bringing that up, I didn't notice since the demo is working fine in IE11: https://jfcere.github.io/ngx-markdown/ |
@jfcere Thanks for your response. Indeed the website works so that's probably coming from our configuration as we don't use the Angular CLI. Maybe the CLI does some magic to transpile to ES5 even when libs are in ES6 code. On my app, I was seeing the exact same issue as described there: markedjs/marked#1585 (comment) Now that I'm transpiling marked through babel it works again... |
I'll keep the issue open, I'm just curious about this whole thing! |
No worries, let me know if I can help in some ways. I can provide our webpack config if you want to check. Thanks alot ! |
It might have to do with this markedjs/marked#1585 (comment) ... When using @angular/cli and adding |
I think it's more about the way you import the lib in the code, instead of pointing to The joy of open source 😄 Thanks alot for your time btw :) |
Yeah pointing to |
@jfcere Do you want me to provide our conf ? It's not really complicated. For TS files we use
|
Importing from I'll have to see if I copy the typings or (since it seems to work with @angular/cli) if I just add a note about Webpack configuration that needs to transpile marked library... which I would really like to avoid. What a disappointing change from their part! Seems there have been a few interesting proposals to fix the issue but they just don't give up! |
@wmarques Would you be able to provide a dummy repository with your Webpack configuration that includes ngx-markdown? That would be greatly helpful and appreciated! I might have found something but I'd like to test it and avoid back and forth to experiment. |
@jfcere I might have some time in 2 weeks to provide you a sample repo :) |
You're a busy man! 😛 |
I can copy paste my webpack conf here if you want a starting point :) |
Sure, its a start 😄 |
You can notice that I added |
Thumbs up this issue. I've been trying to solve how to get this package to work with angular cli's serve after the update to angular 9. Do you need to use this syntax? This SO-post pointed me in the right direction which lead me this far. |
This issue (and more specifically the final comment) - markedjs/marked#1630 |
@drandell thanks for the info, that's good news! I'll keep a eye on the future marked.js release. |
@jfcere looks like we have a fix in place with markedjs/marked#1661 Just waiting for release |
I've updated marked to v1.1.0 which is meant to fix this issue markedjs/marked#1630. Please update ngx-markdown to v9.1.0 and give me some feedback. |
@jfcere I've run into this same issue with ngx-markdown 10.1.1. Downgrading to ngx-markdown 9.1.0 made things start working in ie11 that wouldn't on 10.1.1. |
Marked seems to have dropped IE11 support recently, see markedjs/marked#1585
There are 2 workarounds:
I can help on this if needed :)
Thanks !
The text was updated successfully, but these errors were encountered: