Is it possible to use CodeRay on github pages?

I am currently using Jekyll-Bootstrap. In my local environment, I can enable CodeRay in jekyll _config.yml and use it in my posts without any problems. But the same code cannot work on github.

My _config.yml(jekyll-bootstrap configurations omitted):

# Use kramdown as markdown parser engine.
markdown:      kramdown
markdown_ext:  markdown,mkd,mkdn,md
textile_ext:   textile

kramdown:
  auto_ids: true
  footnote_nr: 1
  entity_output: as_char
  toc_levels: 1..6
  smart_quotes: lsquo,rsquo,ldquo,rdquo
  use_coderay: true

  coderay:
    coderay_wrap: div
    coderay_line_numbers: nil
    coderay_tab_width: 4
    coderay_bold_every: 10
    coderay_css: class
+4
source share
2 answers

GithHb pages trigger a minimal ruby ​​/ ruby ​​gem configuration, it will also override some of your settings _config.yml, see https://help.github.com/articles/using-jekyll-with-pages for some more information.

- , GitHub, GitGub Jekyll.

+1

kramdown coderay github.

markdown: kramdown
kramdown:
  use_coderay: true

_config.yml.

+2

All Articles