jedfoster / SassMeister

The Sass playground
http://sassmeister.com
199 stars 25 forks source link

Allow external Sass Files #163

Closed timschoch closed 8 years ago

timschoch commented 8 years ago

We're develolping a Framework and for documentation purposes it would be realy helpful to provide sassmeister examples where our employees can see what a specific mixin or function does and play around with how it.

The Problem, there is alot of sass code involved that needs to be present for the example to work. This has to be prior to the code of the example, so I would have to add all the framework code first and the user would have to scroll past it to get to the example -> unggh

Something like this would be neat:

/// @import 'http://path.to/framework.scss'
div {
  width: someFunction( 2 );
}

If possible, only the output of the sassmeister file would be shown in the CSS tab. CSS Output from the Framework should not be shown to make it easier for the user to see the changes

jedfoster commented 8 years ago

I agree this would be cool, but probably not gonna happen, at least not anytime soon. https://github.com/jedfoster/SassMeister/issues/72

The second part of your request simply isn't possible; if your framework generates CSS, it will be shown in the compiled CSS.

timschoch commented 8 years ago

I just saw that you can install sassmeister on your own machine. Would it be possible to run that on our servers and add our framework as an Extension there? How would this be done?