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

added sassify and scssify filters for converting sass and scss strings to css #2739

Merged
merged 1 commit into from
Aug 13, 2014

Conversation

ksweetie
Copy link

This branch creates two filters that are very similar to markdownify. Currently, there is no way to manually convert Sass or Scss. A popular use case would be inlining critical, above-the-fold CSS, something that is very important for performance. This branch would allow you to do something like this:

<head>
{% capture include_to_scssify %}
{% include critical_css.scss %}
{% endcapture %}
{{ include_to_scssify | scssify }}
</head>

I can update the documentation if this gets the thumbs up. I just wanted to make sure I didn't get a "this can be a plugin!" response before I put time into updating the docs.

Thanks!

@ksweetie ksweetie changed the title added sassify and scssify filters fot converting sass and scss strings to css added sassify and scssify filters for converting sass and scss strings to css Aug 13, 2014
@parkr parkr merged commit fac5a2e into jekyll:master Aug 13, 2014
parkr added a commit that referenced this pull request Aug 13, 2014
@parkr parkr added this to the 2.3 milestone Aug 13, 2014
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants