Questions tagged [rouge]

Rouge is an elegant, extendable code highlighter written in pure Ruby.

Rouge supports 72 languages and counting, including Ruby, JavaScript, Swift, Go, C++, and Haskell.

Rouge aims for the highest quality lexing in all its supported languages, even with strange features and odd corner cases.

Rouge themes are 100% compatible with Pygments' stylesheets. No need to remake your theme, and no need to spawn a Python process either. Rouge is made in Ruby

Find more at http://rouge.jneen.net/.

81 questions
0
votes
1 answer

Jekyll: kramdown ignoring input in _config.yml

I am trying to make syntax highlighting on my jekyll site work with the syntax for syntax highlighting that is also supported by github. Currently, I use this syntax to highlight my code: {% highlight css %} /* code */ {% endhighlight %} Which does…
Nachtfunke
  • 329
  • 1
  • 14
0
votes
1 answer

Errors installing Pyrouge

I'm currently trying to install pyrouge, and I'm getting the following errors ====================================================================== ERROR: test_options…
Jesse Sliter
  • 233
  • 1
  • 4
  • 15
0
votes
1 answer

GitHub Pages mangling syntax highlighting after upgrade to Jekyll 3

I use Github Pages for my personal website. They're upgrading from Jekyll 2 to Jekyll 3 and sending deprecation warnings. I complied with their warnings and switched from redcarpet to kramdown and from pygments to rouge. When I build locally (with…
Parzival
  • 2,004
  • 4
  • 33
  • 47
-1
votes
1 answer

How to update Jekyll's dependencies in GitHub

I have a Jekyll blog at GitHub, and there are problems caused by an old version of the Rouge syntax highlighter. The issue can be seen in this post here1, for example. Note the red equals signs. If I serve my site locally, I get the latest version…
Alex Harvey
  • 14,494
  • 5
  • 61
  • 97
-1
votes
1 answer

SyntaxError: invalid syntax for print(file=saveto, *args, **kwargs)

I was following this repo for installing files2rouge, then i got an error as below: Traceback (most recent call last): File "setup_rouge.py", line 7, in from files2rouge import settings File…
Bily
  • 51
  • 9
-1
votes
1 answer

UnicodeDecodeError with pyrouge

I want to evaluate my summaries by pyrouge. pyrouge is a python wrapper for the ROUGE summarization evaluation package. My problem is when I want to use pyrouge for evaluating my summaries. I wrote these commands: from pyrouge import Rouge155 r =…
1 2 3 4 5
6