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

Code Highlighting does not work #26

Open
Zir0-93 opened this issue Jul 25, 2016 · 3 comments
Open

Code Highlighting does not work #26

Zir0-93 opened this issue Jul 25, 2016 · 3 comments

Comments

@Zir0-93
Copy link

Zir0-93 commented Jul 25, 2016

Hello,

It seems the pygments or rouge highlighter is not working when I need to syntax color code using this theme. Is there any way to fix this?

@saurabhshri
Copy link

+1

@Zir0-93 Did you find any solution?

@hmfaysal Any updates?

Choosing language while highlighting

js

Always gets rendered like this no matter what

nothing

Here's the HTML code being rendered.

html

Here's the CSS being rendered.

image

If it helps, here's my blog repo : https://github.com/saurabhshri/saurabhshri.github.io

@Zir0-93
Copy link
Author

Zir0-93 commented May 30, 2017

No solution found yet, started using a different theme for the time being.

@saurabhshri
Copy link

saurabhshri commented May 30, 2017

@Zir0-93 Try

markdown:    kramdown

kramdown:
  input: GFM
  syntax_highlighter: rouge

and remove everything else related to highlighter like coderay.

I tried numerous things yesterday and finally got it to work. I think this should do it :)

PS : Here's my config file in case you want to see it yourself : https://github.com/saurabhshri/saurabhshri.github.io/blob/master/_config.yml

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