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