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-2017 by the Pygments team, see AUTHORS. |
8 :copyright: Copyright 2006-2019 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 |
42 'algol': 'algol::AlgolStyle', |
42 'algol': 'algol::AlgolStyle', |
43 'algol_nu': 'algol_nu::Algol_NuStyle', |
43 'algol_nu': 'algol_nu::Algol_NuStyle', |
44 'arduino': 'arduino::ArduinoStyle', |
44 'arduino': 'arduino::ArduinoStyle', |
45 'rainbow_dash': 'rainbow_dash::RainbowDashStyle', |
45 'rainbow_dash': 'rainbow_dash::RainbowDashStyle', |
46 'abap': 'abap::AbapStyle', |
46 'abap': 'abap::AbapStyle', |
|
47 'solarized-dark': 'solarized::SolarizedDarkStyle', |
|
48 'solarized-light': 'solarized::SolarizedLightStyle', |
|
49 'sas': 'sas::SasStyle', |
|
50 'stata': 'stata_light::StataLightStyle', |
|
51 'stata-light': 'stata_light::StataLightStyle', |
|
52 'stata-dark': 'stata_dark::StataDarkStyle', |
|
53 'inkpot': 'inkpot::InkPotStyle', |
47 } |
54 } |
48 |
55 |
49 |
56 |
50 def get_style_by_name(name): |
57 def get_style_by_name(name): |
51 if name in STYLE_MAP: |
58 if name in STYLE_MAP: |