Pygments - Syntax Highlighter in Python

  •        1780

Pygments is a generic syntax highlighter for general use in all kinds of software such as forum systems, wikis or other applications that need to prettify source code. It supports all common programming languages. It will take source code (or other markup) in a supported language and output a processed version (in different formats) containing syntax highlighting markup. It suports a number of output formats like HTML, RTF, LaTeX and ANSI sequences (console output).

http://pygments.org/

Tags
Implementation
License
Platform

   




Related Projects

prettify-matlab - MATLAB syntax highlighting for google-code-prettify


MATLAB syntax highlighting for google-code-prettify

pukiwiki.codeprettify - PukiWiki Plugin, Syntax highlighting by using google-code-prettify


PukiWiki Plugin, Syntax highlighting by using google-code-prettify

PrettifyRebol - Rebol syntax highlighting using Google Code Prettify


Rebol syntax highlighting using Google Code Prettify

sunburst-code-prettify


WordPress plugin for lightweight code syntax highlighting. Uses Google’s Prettify with the Sunburst syntax theme to elegantly highlight code.

pygment-it - A WordPress plugin for syntax highlighting using Pygments


* Syntax-highlighted code cached as post metadata* Admin panel to choose theme, default language and Pygments usage (local, external API or auto discover)* Multiple themes available (github, monokai, railscasts, mustang, among others..)* Support for `hl_lines` (highlighted lines), `linenos` (line numbers) and `linenostart` (line number to start) when using a local installation of Pygments



epygments - Simple wrapper to Pygments - prettify source code in your erlang program.


Simple wrapper to Pygments - prettify source code in your erlang program.

prettify-pascal - Google Prettify plug-in for Pascal and Delphi syntax highlighting


Google Prettify plug-in for Pascal and Delphi syntax highlighting

modx-prettify - Google Prettify syntax highlighting for MODx Revolution


Google Prettify syntax highlighting for MODx Revolution

pygments - Pygments code highlighting via Google App Engine


Pygments code highlighting via Google App Engine

Rainbow - Code Syntax Highlighting Library in Javascript


Rainbow is a code syntax highlighting library written in JavaScript. It was designed to be lightweight (1.4kb), easy to use, and extendable. It is completely themable via CSS. If you have a language specific pattern that you want highlighted, but it does not exist in the language syntax rules you can add a rule on your page.

mustache-syntax-highlighter - Syntax highlighting plugin for mustache.rb


def hello puts "Hi world!" end {{/ highlight_ruby}} Sweet. It works.Will produce this text: I wrote some great code! <div class="highlight"><pre><span class="k">def</span> <span class="nf">hello</span> <span class="nb">puts</span> <span class="s2">"Hi world!"</span> <span class="k">end</span> </pre></div> Sweet. It works.Just include the [Pygments css file][pc] and you're ready to roll.If you want to use this in a `Mustache` view you can include it

contentbox-google-prettify


A module to provide syntax highlighting of code via Google's Prettify JS

yard-pygments - Pygments-based syntax highlighting for YARD.


Pygments-based syntax highlighting for YARD.

pygments-rust - Pygments syntax highlighting for rust.


Pygments syntax highlighting for rust.

docpad-plugin-pygments - Adds support for Pygments Syntax Highlighting to DocPad


Adds support for Pygments Syntax Highlighting to DocPad

reStructuredText-utils


utils to preview restructuredText as HTML from a terminal or from vim + other reST/vim integration features. Integrates pygments or syntaxhighlighter for html previews. The provided r2h script can also be used as a general-purpose script to generate html with code syntax highlighting (pygments or SyntaxHighlighter) from reST source.

cirru-color - Syntax highlighting for Cirru, inspired by Pygments


```npm install cirru-color``````coffee{generate, parse} = require 'cirru-color'tokens = parse 'cirru code'html = generate 'cirru code'```valid types here are:```whitespacefuncparapuncdollarstringstring-textescapeescape-text```for code:```cirruprint $ unwrap $```it returns:```json[ [ { "type": "func", "text": "print" }, { "type": "whitespace", "text": " " }, { "type": "dollar", "text": "$" }, { "type": "whitespace", "text": " " },

yard-pygmentsrb - Enables Pygments syntax highlighting in YARD via pygments.rb


Enables Pygments syntax highlighting in YARD via pygments.rb

tw2.pygmentize - Syntax Highlighting using Pygments within a ToscaWidgets2 widget


Syntax Highlighting using Pygments within a ToscaWidgets2 widget

rdoc-rouge - Syntax highlighting for RDoc using the pygments friendly Rouge.


Syntax highlighting for RDoc using the pygments friendly Rouge.