diff options
author | ilezhankin <[email protected]> | 2022-02-10 16:45:55 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:55 +0300 |
commit | 1d125034f06575234f83f24f08677955133f140e (patch) | |
tree | ec05fbbd61dc118d5de37f206ab978cff58774bd /contrib/python/Pygments/py3/pygments/styles/bw.py | |
parent | 3a7a498715ef1b66f5054455421b845e45e3a653 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/styles/bw.py')
-rw-r--r-- | contrib/python/Pygments/py3/pygments/styles/bw.py | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/contrib/python/Pygments/py3/pygments/styles/bw.py b/contrib/python/Pygments/py3/pygments/styles/bw.py index 1b385387617..42de46b201e 100644 --- a/contrib/python/Pygments/py3/pygments/styles/bw.py +++ b/contrib/python/Pygments/py3/pygments/styles/bw.py @@ -1,48 +1,48 @@ -""" - pygments.styles.bw - ~~~~~~~~~~~~~~~~~~ - - Simple black/white only style. - +""" + pygments.styles.bw + ~~~~~~~~~~~~~~~~~~ + + Simple black/white only style. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Operator, Generic - - -class BlackWhiteStyle(Style): - - background_color = "#ffffff" - default_style = "" - - styles = { - Comment: "italic", - Comment.Preproc: "noitalic", - - Keyword: "bold", - Keyword.Pseudo: "nobold", - Keyword.Type: "nobold", - - Operator.Word: "bold", - - Name.Class: "bold", - Name.Namespace: "bold", - Name.Exception: "bold", - Name.Entity: "bold", - Name.Tag: "bold", - - String: "italic", - String.Interpol: "bold", - String.Escape: "bold", - - Generic.Heading: "bold", - Generic.Subheading: "bold", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold", - - Error: "border:#FF0000" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Operator, Generic + + +class BlackWhiteStyle(Style): + + background_color = "#ffffff" + default_style = "" + + styles = { + Comment: "italic", + Comment.Preproc: "noitalic", + + Keyword: "bold", + Keyword.Pseudo: "nobold", + Keyword.Type: "nobold", + + Operator.Word: "bold", + + Name.Class: "bold", + Name.Namespace: "bold", + Name.Exception: "bold", + Name.Entity: "bold", + Name.Tag: "bold", + + String: "italic", + String.Interpol: "bold", + String.Escape: "bold", + + Generic.Heading: "bold", + Generic.Subheading: "bold", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold", + + Error: "border:#FF0000" + } |