Install coderay by entering the following commands in the terminal:
sudo apt update sudo apt install coderay
Description:
Helper programs for CodeRay Ruby lib for syntax highlighting
CodeRay is a Ruby library that can scan an input file or text in a web page and encode it as syntax highlighted HTML output. . CodeRay supports many input languages including: C, C++, CSS, Delphi, diff, Groovy, HTML, RHTML (Erb+HTML), Nitro-XHTML, Java, JavaScript, JSON, PHP, Python, Ruby, SQL and YAML. . CodeRay can output to HTML, JSON, XML, Yaml. . The coderay binary scans a file and outputs in HTML.
Homepage: http://coderay.rubychan.de
Version: 1.1.2-2
Section: universe/ruby