Rouge supports 205 languages and counting, including Ruby, JavaScript, Swift, Go, C++, and Haskell. Our contributors are adding more languages all the time.
<testsuites>
<testsuite time="0.239100933074951"
failures="10"
name="access_t"
tests="14"
errors="1">
<testcase name="(init)" time="0.180249929428101" />
<testcase time="0.00193119049072266" name="1 - inet allow all">
<failure type="TestFailed"
message="not ok 1 - inet allow all"><![CDATA[not ok 1 - inet allow all]]></failure>
</testcase>
<testcase name="2 - inet allow unix" time="0.00225496292114258">
<failure type="TestFailed"
message="not ok 2 - inet allow unix"><![CDATA[not ok 2 - inet allow unix]]></failure>
</testcase>
<testcase time="0.00211286544799805" name="3 - inet deny all"></testcase>
<testcase name="4 - inet deny unix" time="0.00119209289550781">
<failure type="TestFailed"
message="not ok 4 - inet deny unix"><![CDATA[not ok 4 - inet deny unix]]></failure>
</testcase>
-
Plenty of Languages
-
Language Parsing
Rouge aims for the highest quality lexing in all its supported languages, even with strange features and odd corner cases. Try it above and see for yourself!
-
Pygments Compatible
Rouge themes are 100% compatible with Pygments' stylesheets. No need to remake your theme, and no need to spawn a Python process either. Rouge is made in Ruby.