aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/styles/algol.py
diff options
context:
space:
mode:
authormonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
committermonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/python/Pygments/py3/pygments/styles/algol.py
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
downloadydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz
fix ya.make
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/styles/algol.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/styles/algol.py62
1 files changed, 0 insertions, 62 deletions
diff --git a/contrib/python/Pygments/py3/pygments/styles/algol.py b/contrib/python/Pygments/py3/pygments/styles/algol.py
deleted file mode 100644
index d6b4926a76..0000000000
--- a/contrib/python/Pygments/py3/pygments/styles/algol.py
+++ /dev/null
@@ -1,62 +0,0 @@
-"""
- pygments.styles.algol
- ~~~~~~~~~~~~~~~~~~~~~
-
- Algol publication style.
-
- This style renders source code for publication of algorithms in
- scientific papers and academic texts, where its format is frequently used.
-
- It is based on the style of the revised Algol-60 language report[1].
-
- o No colours, only black, white and shades of grey are used.
- o Keywords are rendered in lowercase underline boldface.
- o Builtins are rendered in lowercase boldface italic.
- o Docstrings and pragmas are rendered in dark grey boldface.
- o Library identifiers are rendered in dark grey boldface italic.
- o Comments are rendered in grey italic.
-
- To render keywords without underlining, refer to the `Algol_Nu` style.
-
- For lowercase conversion of keywords and builtins in languages where
- these are not or might not be lowercase, a supporting lexer is required.
- The Algol and Modula-2 lexers automatically convert to lowercase whenever
- this style is selected.
-
- [1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>`
-
- :copyright: Copyright 2006-2022 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
-
-
-class AlgolStyle(Style):
-
- background_color = "#ffffff"
- default_style = ""
-
- styles = {
- Comment: "italic #888",
- Comment.Preproc: "bold noitalic #888",
- Comment.Special: "bold noitalic #888",
-
- Keyword: "underline bold",
- Keyword.Declaration: "italic",
-
- Name.Builtin: "bold italic",
- Name.Builtin.Pseudo: "bold italic",
- Name.Namespace: "bold italic #666",
- Name.Class: "bold italic #666",
- Name.Function: "bold italic #666",
- Name.Variable: "bold italic #666",
- Name.Constant: "bold italic #666",
-
- Operator.Word: "bold",
-
- String: "italic #666",
-
- Error: "border:#FF0000"
- }