Autodetect sourcefile language. #19

mikewest opened this Issue Oct 20, 2010 · 1 comment


None yet
1 participant

mikewest commented Oct 20, 2010

Rocco assumes that all files processed in one run are written in the same language. It'd be nice if we would default to letting pygmentize figure it out (based on filename), and use the language CLI option as an override rather than a requirement.

This involves running pygmentize without a specified language, checking the error code, and when an error pops up, running pygmentize again with the language inline.


mikewest commented Oct 21, 2010

Closed with 0b392c1

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment