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 | 53a2e38e73f5b081fde378648d3282ba2cfa4e4f (patch) | |
tree | 9b27d6186b7cb1c141cb05dfa7e13af67ecffe4c /doc/docs | |
parent | b30f246305216d46a8e440f9a920fd7929d1c821 (diff) | |
download | pygments-git-53a2e38e73f5b081fde378648d3282ba2cfa4e4f.tar.gz |
Fix a few markup problems in the docs.
Diffstat (limited to 'doc/docs')
-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. |