imathis/octopress — pull request #880 by lucisferre (2012-12-20 17:16:47+00:00)
Title: Adds 'cs' filetype to pygments

This adds 'cs' so it doesn't throw an exception. I have a couple of other questions though.

1. How should we handle unknown filetypes. Throwing an exception doesn't seem like the best options. Perhaps printing a warning and falling back to 'plain' would be best (unless pygments supports another way to detect)

2. Is there a way to add all of pygments filetypes easily? They have listing (http://pygments.org/docs/lexers/) which includes the file extensions, so I'm surprised it doesn't just detect based on extensions somehow.

If no one knows the answers to these questions I'll do some digging and see if I can't find a way.