Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
/* Stylesheet generated by updateCSS.php */
|
2021-02-14 21:16:28 +00:00
|
|
|
pre { line-height: 125%; }
|
|
|
|
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
|
|
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
|
|
|
|
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
Update pygments to 2.7.2
Changes:
<https://github.com/pygments/pygments/blob/2.7.2/CHANGES#L15-L158>
The 2.7.2 release contains fixes to existing lexers, as well as the
following new lexers:
arrow, bare, devicetree, dmesg, dts, execline, fstar, gd, gdscript,
ipython, ipython2, ipython3, ipythonconsole, kmsg, llvm-mir,
llvm-mir-body, miniscript, mosel, ms, peg, pointless, promql, psysh,
raku, reason, reasonml, ride, sieve, singularity, tid, tnt, usd, usda,
webidl, and yang
To verify the integrity of the pygmentize binary, you can run
'create_pygmentize_bundle' and verify that the same pygmentize file is
created.
Change-Id: I0be3c1c204237b4a8873063e282be7ab8655be9d
2020-11-23 21:44:20 +00:00
|
|
|
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .hll { background-color: #ffffcc }
|
Update pygments to 2.7.2
Changes:
<https://github.com/pygments/pygments/blob/2.7.2/CHANGES#L15-L158>
The 2.7.2 release contains fixes to existing lexers, as well as the
following new lexers:
arrow, bare, devicetree, dmesg, dts, execline, fstar, gd, gdscript,
ipython, ipython2, ipython3, ipythonconsole, kmsg, llvm-mir,
llvm-mir-body, miniscript, mosel, ms, peg, pointless, promql, psysh,
raku, reason, reasonml, ride, sieve, singularity, tid, tnt, usd, usda,
webidl, and yang
To verify the integrity of the pygmentize binary, you can run
'create_pygmentize_bundle' and verify that the same pygmentize file is
created.
Change-Id: I0be3c1c204237b4a8873063e282be7ab8655be9d
2020-11-23 21:44:20 +00:00
|
|
|
.mw-highlight { background: #f8f8f8; }
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .err { border: 1px solid #FF0000 } /* Error */
|
|
|
|
.mw-highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
|
|
|
.mw-highlight .o { color: #666666 } /* Operator */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
|
|
|
|
.mw-highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
|
|
|
|
.mw-highlight .cp { color: #9C6500 } /* Comment.Preproc */
|
|
|
|
.mw-highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
|
|
|
|
.mw-highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
|
|
|
|
.mw-highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .gd { color: #A00000 } /* Generic.Deleted */
|
|
|
|
.mw-highlight .ge { font-style: italic } /* Generic.Emph */
|
Update Pygments to 2.16.1
Bump embedded Pygments version from 2.15.0 to 2.16.1. Changes
<https://github.com/pygments/pygments/compare/2.15.0...2.16.1>.
New lexers: asn1, blueprint, bqn, desktop, graphql, openscad, ptx,
systemd, tls, urlencoded, verifpal, yar, yara, zon
Bug: T335460
Change-Id: I9577e2f38c8404698c5079033c3cd9742e8b383f
2023-08-08 17:26:18 +00:00
|
|
|
.mw-highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .gr { color: #E40000 } /* Generic.Error */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .gi { color: #008400 } /* Generic.Inserted */
|
|
|
|
.mw-highlight .go { color: #717171 } /* Generic.Output */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
|
|
|
.mw-highlight .gs { font-weight: bold } /* Generic.Strong */
|
|
|
|
.mw-highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
|
|
|
.mw-highlight .gt { color: #0044DD } /* Generic.Traceback */
|
|
|
|
.mw-highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
|
|
|
|
.mw-highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
|
|
|
|
.mw-highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
|
|
|
|
.mw-highlight .kp { color: #008000 } /* Keyword.Pseudo */
|
|
|
|
.mw-highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
|
|
|
|
.mw-highlight .kt { color: #B00040 } /* Keyword.Type */
|
|
|
|
.mw-highlight .m { color: #666666 } /* Literal.Number */
|
|
|
|
.mw-highlight .s { color: #BA2121 } /* Literal.String */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .na { color: #687822 } /* Name.Attribute */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .nb { color: #008000 } /* Name.Builtin */
|
|
|
|
.mw-highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
|
|
|
|
.mw-highlight .no { color: #880000 } /* Name.Constant */
|
|
|
|
.mw-highlight .nd { color: #AA22FF } /* Name.Decorator */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
|
|
|
|
.mw-highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .nf { color: #0000FF } /* Name.Function */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .nl { color: #767600 } /* Name.Label */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
|
|
|
.mw-highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
|
|
|
|
.mw-highlight .nv { color: #19177C } /* Name.Variable */
|
|
|
|
.mw-highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
|
|
|
.mw-highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
|
|
|
.mw-highlight .mb { color: #666666 } /* Literal.Number.Bin */
|
|
|
|
.mw-highlight .mf { color: #666666 } /* Literal.Number.Float */
|
|
|
|
.mw-highlight .mh { color: #666666 } /* Literal.Number.Hex */
|
|
|
|
.mw-highlight .mi { color: #666666 } /* Literal.Number.Integer */
|
|
|
|
.mw-highlight .mo { color: #666666 } /* Literal.Number.Oct */
|
2017-01-29 09:35:35 +00:00
|
|
|
.mw-highlight .sa { color: #BA2121 } /* Literal.String.Affix */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
|
|
|
|
.mw-highlight .sc { color: #BA2121 } /* Literal.String.Char */
|
2017-01-29 09:35:35 +00:00
|
|
|
.mw-highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
|
|
|
|
.mw-highlight .s2 { color: #BA2121 } /* Literal.String.Double */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .sx { color: #008000 } /* Literal.String.Other */
|
2022-01-17 22:02:16 +00:00
|
|
|
.mw-highlight .sr { color: #A45A77 } /* Literal.String.Regex */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .s1 { color: #BA2121 } /* Literal.String.Single */
|
|
|
|
.mw-highlight .ss { color: #19177C } /* Literal.String.Symbol */
|
|
|
|
.mw-highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
|
2017-01-29 09:35:35 +00:00
|
|
|
.mw-highlight .fm { color: #0000FF } /* Name.Function.Magic */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .vc { color: #19177C } /* Name.Variable.Class */
|
|
|
|
.mw-highlight .vg { color: #19177C } /* Name.Variable.Global */
|
|
|
|
.mw-highlight .vi { color: #19177C } /* Name.Variable.Instance */
|
2017-01-29 09:35:35 +00:00
|
|
|
.mw-highlight .vm { color: #19177C } /* Name.Variable.Magic */
|
Highlight using Pygments rather than Geshi
GeSHi is unmaintained, lacks support for many popular modern languages, and
suffers from deep architectural flaws, chief among them the inconsistent
tokenization of different languages, each of which requires a custom
stylesheet.
Pygments is a well-maintained alternative. It is, by my count, the most popular
syntax highlighting library around. It is BSD-licensed, actively maintained,
and is widely used in PHP projects.
To keep this easy to review, this change does not include update for l10n
files, and it does not delete the geshi/ directory. I will do those in a
separate patch.
The chief change between this and the previous implementation is that errors
result in the code block not being highlighted, as opposed to not being printed
at all, having been replaced by an angry red error message. I think that is the
right user experience. If you go to StackOverflow or GitHub and try to mark up
your code block as being written in some language that their highlighter
doesn't know about, you don't get an error message -- the code simply doesn't
get highlighted.
Because we don't recursively load dependencies for extensions, to test this,
you will need to create a composer.local.json in $IP and add:
{
"extra": {
"merge-plugin": {
"include": [
"extensions/SyntaxHighlight_GeSHi/composer.json"
]
}
}
}
Then run `composer update`.
Bug: T85794
Change-Id: I07446ec9893fae3d1e394f435d3d95cf8be6bc33
2015-06-16 03:52:58 +00:00
|
|
|
.mw-highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
|
2024-09-27 17:23:46 +00:00
|
|
|
@media screen {
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .hll { background-color: #49483e }
|
|
|
|
.skin-theme-clientpref-night .mw-highlight { background: #272822; color: #f8f8f2 }
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .c { color: #959077 } /* Comment */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .err { color: #ed007e; background-color: #1e0010 } /* Error */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .esc { color: #f8f8f2 } /* Escape */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .g { color: #f8f8f2 } /* Generic */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .k { color: #66d9ef } /* Keyword */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .l { color: #ae81ff } /* Literal */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .n { color: #f8f8f2 } /* Name */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .o { color: #ff4689 } /* Operator */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .x { color: #f8f8f2 } /* Other */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .p { color: #f8f8f2 } /* Punctuation */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ch { color: #959077 } /* Comment.Hashbang */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .cm { color: #959077 } /* Comment.Multiline */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .cp { color: #959077 } /* Comment.Preproc */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .cpf { color: #959077 } /* Comment.PreprocFile */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .c1 { color: #959077 } /* Comment.Single */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .cs { color: #959077 } /* Comment.Special */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gd { color: #ff4689 } /* Generic.Deleted */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ge { color: #f8f8f2; font-style: italic } /* Generic.Emph */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ges { color: #f8f8f2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gr { color: #f8f8f2 } /* Generic.Error */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gh { color: #f8f8f2 } /* Generic.Heading */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gi { color: #a6e22e } /* Generic.Inserted */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .go { color: #66d9ef } /* Generic.Output */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gp { color: #ff4689; font-weight: bold } /* Generic.Prompt */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gs { color: #f8f8f2; font-weight: bold } /* Generic.Strong */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gu { color: #959077 } /* Generic.Subheading */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .gt { color: #f8f8f2 } /* Generic.Traceback */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .kc { color: #66d9ef } /* Keyword.Constant */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .kd { color: #66d9ef } /* Keyword.Declaration */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .kn { color: #ff4689 } /* Keyword.Namespace */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .kr { color: #66d9ef } /* Keyword.Reserved */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .kt { color: #66d9ef } /* Keyword.Type */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ld { color: #e6db74 } /* Literal.Date */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .m { color: #ae81ff } /* Literal.Number */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .s { color: #e6db74 } /* Literal.String */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .na { color: #a6e22e } /* Name.Attribute */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nb { color: #f8f8f2 } /* Name.Builtin */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nc { color: #a6e22e } /* Name.Class */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .no { color: #66d9ef } /* Name.Constant */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nd { color: #a6e22e } /* Name.Decorator */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ni { color: #f8f8f2 } /* Name.Entity */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ne { color: #a6e22e } /* Name.Exception */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nf { color: #a6e22e } /* Name.Function */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nl { color: #f8f8f2 } /* Name.Label */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nn { color: #f8f8f2 } /* Name.Namespace */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nx { color: #a6e22e } /* Name.Other */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .py { color: #f8f8f2 } /* Name.Property */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nt { color: #ff4689 } /* Name.Tag */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .nv { color: #f8f8f2 } /* Name.Variable */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ow { color: #ff4689 } /* Operator.Word */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .pm { color: #f8f8f2 } /* Punctuation.Marker */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .w { color: #f8f8f2 } /* Text.Whitespace */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .mf { color: #ae81ff } /* Literal.Number.Float */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .sa { color: #e6db74 } /* Literal.String.Affix */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .sc { color: #e6db74 } /* Literal.String.Char */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .sd { color: #e6db74 } /* Literal.String.Doc */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .s2 { color: #e6db74 } /* Literal.String.Double */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .se { color: #ae81ff } /* Literal.String.Escape */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .si { color: #e6db74 } /* Literal.String.Interpol */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .sx { color: #e6db74 } /* Literal.String.Other */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .sr { color: #e6db74 } /* Literal.String.Regex */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .s1 { color: #e6db74 } /* Literal.String.Single */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .fm { color: #a6e22e } /* Name.Function.Magic */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
|
|
|
|
.skin-theme-clientpref-night .mw-highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
|
|
|
}
|
|
|
|
@media screen and ( prefers-color-scheme: dark ) {
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .hll { background-color: #49483e }
|
|
|
|
.skin-theme-clientpref-os .mw-highlight { background: #272822; color: #f8f8f2 }
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .c { color: #959077 } /* Comment */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .err { color: #ed007e; background-color: #1e0010 } /* Error */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .esc { color: #f8f8f2 } /* Escape */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .g { color: #f8f8f2 } /* Generic */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .k { color: #66d9ef } /* Keyword */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .l { color: #ae81ff } /* Literal */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .n { color: #f8f8f2 } /* Name */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .o { color: #ff4689 } /* Operator */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .x { color: #f8f8f2 } /* Other */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .p { color: #f8f8f2 } /* Punctuation */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ch { color: #959077 } /* Comment.Hashbang */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .cm { color: #959077 } /* Comment.Multiline */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .cp { color: #959077 } /* Comment.Preproc */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .cpf { color: #959077 } /* Comment.PreprocFile */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .c1 { color: #959077 } /* Comment.Single */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .cs { color: #959077 } /* Comment.Special */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gd { color: #ff4689 } /* Generic.Deleted */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ge { color: #f8f8f2; font-style: italic } /* Generic.Emph */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ges { color: #f8f8f2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gr { color: #f8f8f2 } /* Generic.Error */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gh { color: #f8f8f2 } /* Generic.Heading */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gi { color: #a6e22e } /* Generic.Inserted */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .go { color: #66d9ef } /* Generic.Output */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gp { color: #ff4689; font-weight: bold } /* Generic.Prompt */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gs { color: #f8f8f2; font-weight: bold } /* Generic.Strong */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gu { color: #959077 } /* Generic.Subheading */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .gt { color: #f8f8f2 } /* Generic.Traceback */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .kc { color: #66d9ef } /* Keyword.Constant */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .kd { color: #66d9ef } /* Keyword.Declaration */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .kn { color: #ff4689 } /* Keyword.Namespace */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .kr { color: #66d9ef } /* Keyword.Reserved */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .kt { color: #66d9ef } /* Keyword.Type */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ld { color: #e6db74 } /* Literal.Date */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .m { color: #ae81ff } /* Literal.Number */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .s { color: #e6db74 } /* Literal.String */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .na { color: #a6e22e } /* Name.Attribute */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nb { color: #f8f8f2 } /* Name.Builtin */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nc { color: #a6e22e } /* Name.Class */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .no { color: #66d9ef } /* Name.Constant */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nd { color: #a6e22e } /* Name.Decorator */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ni { color: #f8f8f2 } /* Name.Entity */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ne { color: #a6e22e } /* Name.Exception */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nf { color: #a6e22e } /* Name.Function */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nl { color: #f8f8f2 } /* Name.Label */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nn { color: #f8f8f2 } /* Name.Namespace */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nx { color: #a6e22e } /* Name.Other */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .py { color: #f8f8f2 } /* Name.Property */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nt { color: #ff4689 } /* Name.Tag */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .nv { color: #f8f8f2 } /* Name.Variable */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ow { color: #ff4689 } /* Operator.Word */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .pm { color: #f8f8f2 } /* Punctuation.Marker */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .w { color: #f8f8f2 } /* Text.Whitespace */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .mf { color: #ae81ff } /* Literal.Number.Float */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .sa { color: #e6db74 } /* Literal.String.Affix */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .sc { color: #e6db74 } /* Literal.String.Char */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .sd { color: #e6db74 } /* Literal.String.Doc */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .s2 { color: #e6db74 } /* Literal.String.Double */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .se { color: #ae81ff } /* Literal.String.Escape */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .si { color: #e6db74 } /* Literal.String.Interpol */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .sx { color: #e6db74 } /* Literal.String.Other */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .sr { color: #e6db74 } /* Literal.String.Regex */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .s1 { color: #e6db74 } /* Literal.String.Single */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .fm { color: #a6e22e } /* Name.Function.Magic */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
|
|
|
|
.skin-theme-clientpref-os .mw-highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
|
|
|
}
|