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!

Code highlighting with Rails

As developers, there usually comes a time when we have to deal with syntax highlighting.

Whether we’re building a blog, a CMS, a documentation site, or any other Rails app that accepts user-generated markdown, adding syntax highlighting to code blocks is an essential feature.

In this article, we will learn how to add syntax highlighting to Rails applications by showing different ways to do it and a couple of nice tricks to improve the user experience.

Read the full article on: https://avohq.io/blog/code-highlighting-with-rails

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