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-2013 by the Pygments team, see AUTHORS. |
8 :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS. |
9 :license: BSD, see LICENSE for details. |
9 :license: BSD, see LICENSE for details. |
10 """ |
10 """ |
11 |
|
12 from __future__ import unicode_literals |
|
13 |
11 |
14 from pygments.plugin import find_plugin_styles |
12 from pygments.plugin import find_plugin_styles |
15 from pygments.util import ClassNotFound |
13 from pygments.util import ClassNotFound |
16 |
14 |
17 |
15 |
34 'bw': 'bw::BlackWhiteStyle', |
32 'bw': 'bw::BlackWhiteStyle', |
35 'vim': 'vim::VimStyle', |
33 'vim': 'vim::VimStyle', |
36 'vs': 'vs::VisualStudioStyle', |
34 'vs': 'vs::VisualStudioStyle', |
37 'tango': 'tango::TangoStyle', |
35 'tango': 'tango::TangoStyle', |
38 'rrt': 'rrt::RrtStyle', |
36 'rrt': 'rrt::RrtStyle', |
|
37 'xcode': 'xcode::XcodeStyle', |
|
38 'igor': 'igor::IgorStyle', |
|
39 'paraiso-light': 'paraiso_light::ParaisoLightStyle', |
|
40 'paraiso-dark': 'paraiso_dark::ParaisoDarkStyle', |
39 } |
41 } |
40 |
42 |
41 |
43 |
42 def get_style_by_name(name): |
44 def get_style_by_name(name): |
43 if name in STYLE_MAP: |
45 if name in STYLE_MAP: |