RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Is Rouge the best code highlighting solutions for ruby apps?

We needed to implement the code highlighting solution for our blogs, and after some research we decided to use Rouge. In this article I present the detailed guide how to do that.

https://driggl.com/blog/a/code-highlighting-with-rouge

Rouge vs other tools

We wanted the highglighting tool to be written in Ruby, so the adjustments and improvements could be easily applied if needed and also the amount of dependencies required by our application could be as small as possible.

Rouge is a nice solution for that. It comes with various of templates and supported languages, is easy to use and change.

There are some bugs yet to be fixed, but we are Ruby programmers, right? That should not stop us from using it - let just help improving the tool!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in