Skip to content

posativ/prettycoderay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

A pygments CSS to CodeRay converter. It can handle most tokens, but some are not available in CodeRay and/or a CodeRay-only token. Early beta and only tested with some python and YAML.

git clone https://posativ.org/git/prettycoderay.git

You need pygments installed (CodeRay is not required). Do easy_install pygments. Use this, to render the "trac" theme:

pygmentize -S trac -f html | python pygments2coderay.py --class .syntaxhl

Available themes: monokai, manni, perldoc, borland, colorful, default, murphy, vs, trac, tango, fruity, autumn, bw, emacs, vim, pastie, friendly and native. See /css for a static compilation of the current pygments css files. Done via ./gen.sh .syntaxhl

About

converts pygments css file to match coderay tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published