comparison MoinMoin/support/pygments/styles/__init__.py @ 6009:b48a69886ca4

upgrade bundled pygments to 1.6
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 05 Jan 2014 02:49:41 +0100
parents 6446873d152f
children 815981fad7fd
comparison
equal deleted inserted replaced
6008:d72a5e95c7c0 6009:b48a69886ca4
3 pygments.styles 3 pygments.styles
4 ~~~~~~~~~~~~~~~ 4 ~~~~~~~~~~~~~~~
5 5
6 Contains built-in styles. 6 Contains built-in styles.
7 7
8 :copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS. 8 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details. 9 :license: BSD, see LICENSE for details.
10 """ 10 """
11 11
12 from pygments.plugin import find_plugin_styles 12 from pygments.plugin import find_plugin_styles
13 from pygments.util import ClassNotFound 13 from pygments.util import ClassNotFound
31 'fruity': 'fruity::FruityStyle', 31 'fruity': 'fruity::FruityStyle',
32 'bw': 'bw::BlackWhiteStyle', 32 'bw': 'bw::BlackWhiteStyle',
33 'vim': 'vim::VimStyle', 33 'vim': 'vim::VimStyle',
34 'vs': 'vs::VisualStudioStyle', 34 'vs': 'vs::VisualStudioStyle',
35 'tango': 'tango::TangoStyle', 35 'tango': 'tango::TangoStyle',
36 'rrt': 'rrt::RrtStyle',
36 } 37 }
37 38
38 39
39 def get_style_by_name(name): 40 def get_style_by_name(name):
40 if name in STYLE_MAP: 41 if name in STYLE_MAP: