rugmentize

pure-ruby syntax highlighter replacement for pygments

Install

All systems
curl cmd.cat/rugmentize.sh
Debian Debian
apt-get install ruby-rugments
Ubuntu
apt-get install ruby-rugments
image/svg+xml Kali Linux
apt-get install ruby-rugments
Windows (WSL2)
sudo apt-get update sudo apt-get install ruby-rugments
Raspbian
apt-get install ruby-rugments

ruby-rugments

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.