Giampaolo Bellavite

Results 136 comments of Giampaolo Bellavite

If you are using webpack (it works also for AMD modules) you can use the `expose-loader` to set the global variable: ``` js require('expose?objectFit!object-fit/dist/polyfill.object-fit.js'); ```

Thanks for reopening this! Please note this is not just related to the markdown rendering. Even _outside_ the markdown docs, there are selectors polluting the global scope, which affects also...

> Now, can this be done WITHOUT "remove all global css polution"? Yes. We can do it in userland today with iframes and/or shadow DOM and/or a reset class. Those...

> Infima is developed for Docusaurus, so asking if Infima is the right choice is asking if theme-classic is the right choice Infima has tons of quirks, I've spent countless...

> Yes, Infima is not designed with component library docs in mind—we do not expect such use-case. I can spot few use cases in the Showcase gallery - e.g https://ionicframework.com/docs/components...

Thanks @lingard I wasn't aware it could be a function. Working on this in the next days if you won't send a PR first 😄

Awesome @yachaka, thanks a lot! Please give some some time to review the changes.

@yachaka Thanks again for your PR. Yes, I see the need of a refactoring to avoid some code dupes... If you are have some time for a code review, we...

Sorry, I've broken the PR fixing up some code in master :( The valuable code is still visible and reusable from the diff.

Yes, this is _needed_ 👍 I'm not a champion in caching techniques, do you have a suggestion about how to implement it?