# albino **Repository Path**: mirrors_github/albino ## Basic Information - **Project Name**: albino - **Description**: Ruby wrapper for the Pygments syntax highlighter. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-02-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **NOTE: This repository is no longer supported or updated by GitHub. If you wish to continue to develop this code yourself, we recommend you fork it.** # Albino: a ruby wrapper for pygmentize This project is an extraction from GitHub. For this and other extractions, see [http://github.com/github]() ## Installation sudo easy_install pygments gem install albino ## Usage ### Simple require 'albino' puts Albino.colorize('puts "Hello World"', :ruby) ### Advanced require 'albino' @syntaxer = Albino.new(File.new('albino.rb'), :ruby, :bbcode) puts @syntaxer.colorize ### Multi require 'albino/multi' ruby, python = Albino::Multi.colorize([ [:ruby,'1+2'], [:python,'1-2'] ])