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

Broken styles #2

Closed
PavelDemyanenko opened this issue Jan 14, 2015 · 8 comments
Closed

Broken styles #2

PavelDemyanenko opened this issue Jan 14, 2015 · 8 comments

Comments

@PavelDemyanenko
Copy link

Gist syntax highlighting not working in octopress.
Gist embed

@imathis
Copy link
Member

imathis commented Jan 14, 2015

Are you using the stylesheets in Octopress 2.0? The new stylesheets for this can be found in octopress-solarized.

@PavelDemyanenko
Copy link
Author

I haven't used them, but now this gem is installed and all instructions are done.
I have included it's styles: generated styles
And this is the gist markup: generated markup
But still no styles :(
Gist preview

@imathis
Copy link
Member

imathis commented Jan 14, 2015

Thanks for the update. I'll give it a try.

@imathis
Copy link
Member

imathis commented Jan 14, 2015

Do you have a gist plugin other than this gem? This doesn't look right at all. I just tried this out in the test suite and had no problems.

{% gist e2cddca88214359c7933 %}

Yielded this:

screenshot of gist embed

This is a jerkily site with only the octopress-gist plugin and octopress-solarized plugin installed. Then I put {% css_asset_tag %} in the head of the site to ensure it gets the CSS. What are you doing differently?

@PavelDemyanenko
Copy link
Author

This is what I have in my gemfile and bundle log.
I put {% css_asset_tag %} in source/_includes/head.html and insert gist like this:
{% gist e2cddca88214359c7933 router.js %}

In my _config.yml:
gems:

  • octopress-solarized
  • octopress-gist

And here is the 'rake generate' and 'rake preview' log, it has warning maybe problems in this?

@imathis
Copy link
Member

imathis commented Jan 14, 2015

Do you still have the gist_tag.rb plugin in your plugins folder? Also be sure to remove @import "partials/syntax"; from your sass/_partials.scss file.

@PavelDemyanenko
Copy link
Author

I've commented gist_tag.rb and everything works fine now! Thank you so much!

@imathis
Copy link
Member

imathis commented Jan 14, 2015

Excellent. I'm delighted to hear it was so simple. Cheers!

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