diff options
author | Georg Brandl <georg@python.org> | 2018-12-18 14:30:49 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2018-12-18 14:30:49 +0100 |
commit | 90f099f0aed96438ee293413caffd26f1758e380 (patch) | |
tree | 19b73c7ee1a191be87b14533efd539ba30803402 /doc | |
parent | 76621e29863a35fb4381f0db9d6c84f1417930a5 (diff) | |
download | pygments-90f099f0aed96438ee293413caffd26f1758e380.tar.gz |
Fix a few markup problems in the docs.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/docs/styles.rst | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/doc/docs/styles.rst b/doc/docs/styles.rst index 65a2a863..570293a5 100644 --- a/doc/docs/styles.rst +++ b/doc/docs/styles.rst @@ -201,34 +201,32 @@ The following are considered "dark" colors and will be rendered as non-bold: Exact behavior might depends on the terminal emulator you are using, and its settings. -.. _NewAnsiColorNames: +.. _new-ansi-color-names: .. versionchanged:: 2.4 -The definition of the ansi color names has changed. +The definition of the ANSI color names has changed. New names are easier to understand and align to the colors used in other projects. - -+-------------------------+--------------------------+ -| New names | Pygments 2.2 | -+=======================+============================+ -| ``ansiblack`` | ``#ansiblack`` | -| ``ansired`` | ``#ansidarkred`` | -| ``ansigreen`` | ``#ansidarkgreen`` | -| ``ansiyellow`` | ``#ansibrown`` | -| ``ansiblue`` | ``#ansidarkblue`` | -| ``ansimagenta`` | ``#ansipurple`` | -| ``ansicyan`` | ``#ansiteal`` | -| ``ansigray`` | ``#ansilightgray`` | -| ``ansibrightblack`` | ``#ansidarkgray`` | -| ``ansibrightred`` | ``#ansired`` | -| ``ansibrightgreen`` | ``#ansigreen`` | -| ``ansibrightyellow`` | ``#ansiyellow`` | -| ``ansibrightblue`` | ``#ansiblue`` | -| ``ansibrightmagenta`` | ``#ansifuchsia`` | -| ``ansibrightcyan`` | ``#ansiturquoise`` | -| ``ansiwhite`` | ``#ansiwhite`` | -+=========================+==========================+ - -Old ansi color names are deprecated but will still work. - +===================== ==================== +New names Pygments up to 2.3 +===================== ==================== +``ansiblack`` ``#ansiblack`` +``ansired`` ``#ansidarkred`` +``ansigreen`` ``#ansidarkgreen`` +``ansiyellow`` ``#ansibrown`` +``ansiblue`` ``#ansidarkblue`` +``ansimagenta`` ``#ansipurple`` +``ansicyan`` ``#ansiteal`` +``ansigray`` ``#ansilightgray`` +``ansibrightblack`` ``#ansidarkgray`` +``ansibrightred`` ``#ansired`` +``ansibrightgreen`` ``#ansigreen`` +``ansibrightyellow`` ``#ansiyellow`` +``ansibrightblue`` ``#ansiblue`` +``ansibrightmagenta`` ``#ansifuchsia`` +``ansibrightcyan`` ``#ansiturquoise`` +``ansiwhite`` ``#ansiwhite`` +===================== ==================== + +Old ANSI color names are deprecated but will still work. |