Install ruby-rugments by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rugments
Description:
pure-ruby syntax highlighter replacement for pygments
Rugments is a pure-ruby syntax highlighter. It can highlight over 60 languages, and output HTML or ANSI 256-color text. Its HTML output is compatible with stylesheets designed for pygments. . It aims to a be a simple, easy-to-extend drop-in replacement for pygments.
Homepage: https://github.com/rumpelsepp/rugments
Version: 1.0.0~beta8-1
Section: universe/ruby