| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Register new style
* Replace default_style with Token
#2184
* Remove default_style from styles
* Simplify register style code
|
|
|
|
| |
Co-authored-by: andy <andy.yu2k@gmail.com>
Co-authored-by: Jean-Abou-Samra <jean@abou-samra.fr>
|
|
|
|
|
|
|
|
|
| |
StarOffice style is a theme used in the user interface and carries through to OpenOffice and LibreOffice, and the documentation.
Reference:
* [Color Config Entry](https://github.com/LibreOffice/core/blob/master/svtools/source/config/colorcfg.cxx#L447-L453)
* [Color Types](https://github.com/LibreOffice/core/blob/e4a57dcdabc9ae7d381025e008b90635c1b7b10c/include/tools/color.hxx#L448)
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Fixes https://github.com/pygments/pygments/issues/1040
|
|
|
|
|
|
|
| |
(Atom, Vim, Alacritty, etc) using the same theme (#1979)
* Refine the One Dark a bit, for consistency with other projects using One Dark.
* Revert the unintentional change in Operator's bold style.
|
|
|
|
| |
It was silly from mine to call it LilypondStyle (lowercase 'p')
whereas the lexer is called LilyPondLexer (uppercase 'P').
|
|
|
|
|
|
|
|
|
|
| |
* LilyPond: update builtins to 2.23.4
* Doc: deduplicate LilyPond in language lists
* Doc: exclude lilypond style from gallery
Because it's specific to LilyPond code and doesn't give good results
on Python code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add lexer and style for LilyPond
GNU LilyPond is a text-based music typesetter. Because its concepts
are completely different from programming languages, this adds
a special-purpose to highlight the special tokens.
The SchemeLexer is expanded to gain the ability of detecting when
one expression stops. LilyPondLexer subclasses SchemeLexer.
Builtins (the most important part) are generated with a script
put in external/ (as was already done for Lasso).
As part of this change, the CPSALexer is made no longer to
inherit from SchemeLexer. The inheritance was unused anyway.
* Fixup: translators names have underscores
* Fixup: avoid duplicate builtins
* Fixup: update goldens
* Fixup: typo
* Fixup: add missing tokens to style
* Fixup: update lexer comments
* Fixup: Tentative style adjustments
* Fixup: move test file to examplefiles/
* Fixup: miscellaneous fixes (to be finished)
* Fixup: escape all braces
* Fixup: use Text, not Whitespace
* Fixup: fixes for lexing and style
* Fixup: update goldens!
* Fixup: also test alist assignments
* Fixup: recognize escape sequences in strings
* Fixup: use Comment.Single
* Fixup: Whitespace, not Text!
* Fixup: fix pitch parsing
* Fixup: update comment
* Fixup: remove redundant re.UNICODE
|
| |
|
|
|
|
|
|
|
|
|
| |
* Creating one dark style
* Adding copyright informations
* Bugfix
* Fogetting one ~
|
|
|
|
| |
Part of #1718.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some dark styles did not define a color for every token type,
resulting in black text (the browser default for text) on dark
backgrounds (defined by the styles) unless the web page had some
CSS to remedy that like:
body { color: white; background: black; }
We however don't want the readability of styles to rely on external CSS.
Part of #1718. Fixes some unreadable styles reported in #1526.
|
|
|
|
|
|
|
|
|
| |
Accessibility by default is important.
The colors with a too low contrast were adjusted just
so much that they match the required contrast of 4.5.
Part of #1718.
|
| |
|
|
|
|
|
|
|
| |
* adding dracula theme
* Added highlight and line colours
* fixed module name underline
|
|
|
|
|
| |
* add gruvbox light and dark themes
* update changes for gruvbox style
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Zenburn theme
Zenburn theme home page: https://kippura.org/zenburnpage/
And Vim Zenburn theme repository, from which I took color codes: https://github.com/jnurmine/Zenburn
* Add line number and other styles for zenburn
As requested in code review.
* Fix failing tests
Probably during rebase I accidentally added dracula, which is now removed.
* Remove encoding file markers
It looks, that pygments no longer use these markers.
* Add special colors for line numbers
Something does not work with HTML generator, because colors does not
show up, unless I added `noclasses=True`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Material theme style
* List Material style in CHANGES
* Change highlight color to be darker
* Adjust line number special color
* Set line number special background color
Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* Add missing prompt color for Solarized style.
* Add missing output color style.
* Add missing generic color.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pyupgrade is a tool to automatically upgrade syntax for newer versions
of the Python language.
The project has been Python 3 only since
35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups:
- Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all
source files as utf-8 by default.
- Replace IOError/EnvironmentError with OSError. Python 3 unified these
exceptions. The old names are aliases only.
- Use the Python 3 shorter super() syntax.
- Remove "utf8" argument form encode/decode. In Python 3, this value is
the default.
- Remove "r" from open() calls. In Python 3, this value is the default.
- Remove u prefix from Unicode strings. In Python 3, all strings are
Unicode.
- Replace io.open() with builtin open(). In Python 3, these functions
are functionally equivalent.
Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
|
|
|
|
|
|
|
| |
This reverts commit bd378d0ef57a6bc53e9079c9363a6eab0d54f0dc.
The license terms in dracula.py don't match. We'll add it back once the
author places it under the correct license.
|
| |
|
|
|
|
|
|
|
|
|
| |
* added dracula theme style
* added dracula style to init
* corrected misspell
* Update __init__.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* all: remove "u" string prefix
* util: remove unirange
Since Python 3.3, all builds are wide unicode compatible.
* unistring: remove support for narrow-unicode builds
which stopped being relevant with Python 3.3
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add font and background colors to Style
* Move all styles to get_style_defs, add tests
* Remove hardcoded styles, add special lineno style
* Add styles for special line numbers in tables
* Update noclasses documentation
* Refactor linenos elements and styles, add tests
* Update AUTHORS
* Fix multiple CSS prefixes, add tests
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Based on the Vim theme: http://www.vim.org/scripts/script.php?script_id=1143
Example output: http://members.iinet.net.au/~ideasman42/dotemacs/init.html
The theme is also bundled with qt-creator and available from emacs package manager.
Also, there aren't many nice dark themes for Pygments at the moment.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
StataLexer defined Name.Format for variable and print format
highlighting; Name.Format is not a built-in token, which
caused issues downstream in certain applications (e.g.
[here](https://github.com/kylebarron/stata_kernel/issues/295)).
This commit changes Name.Format to Name.Other.
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | | |
Adds a solarized style
Approved-by: Anteru <bitbucket@ca.sh13.net>
|