404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.188.106.47: ~ $
# -*- coding: utf-8 -*-
"""
    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-2017 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"
    }

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 2.49 KB 0644
abap.py File 751 B 0644
algol.py File 2.21 KB 0644
algol_nu.py File 2.22 KB 0644
arduino.py File 4.39 KB 0644
autumn.py File 2.09 KB 0644
borland.py File 1.53 KB 0644
bw.py File 1.32 KB 0644
colorful.py File 2.71 KB 0644
default.py File 2.47 KB 0644
emacs.py File 2.43 KB 0644
friendly.py File 2.46 KB 0644
fruity.py File 1.27 KB 0644
igor.py File 739 B 0644
lovelace.py File 3.1 KB 0644
manni.py File 2.32 KB 0644
monokai.py File 4.96 KB 0644
murphy.py File 2.69 KB 0644
native.py File 1.89 KB 0644
paraiso_dark.py File 5.51 KB 0644
paraiso_light.py File 5.51 KB 0644
pastie.py File 2.42 KB 0644
perldoc.py File 2.12 KB 0644
rainbow_dash.py File 2.42 KB 0644
rrt.py File 852 B 0644
sas.py File 1.41 KB 0644
stata.py File 1.22 KB 0644
tango.py File 6.93 KB 0644
trac.py File 1.89 KB 0644
vim.py File 1.93 KB 0644
vs.py File 1.05 KB 0644
xcode.py File 1.47 KB 0644