Commit 33609f78 authored by Christoph Cullmann's avatar Christoph Cullmann

Radical theme added

parent 4cba1147
...@@ -6,7 +6,7 @@ date: 2019-08-24T12:12:12+00:00 ...@@ -6,7 +6,7 @@ date: 2019-08-24T12:12:12+00:00
<!-- This page is auto-generated by "make update_kate_editor_org" in syntax-highlighting.git --> <!-- This page is auto-generated by "make update_kate_editor_org" in syntax-highlighting.git -->
<p>Kate's highlighting is powered by the [KSyntaxHighlighting](https://api.kde.org/frameworks/syntax-highlighting/html/) framework that contains 13 bundled color themes. <p>Kate's highlighting is powered by the [KSyntaxHighlighting](https://api.kde.org/frameworks/syntax-highlighting/html/) framework that contains 14 bundled color themes.
Below you can find a list of all bundled themes together with an example rendering. Below you can find a list of all bundled themes together with an example rendering.
</p><h3>ayu Dark</h3> </p><h3>ayu Dark</h3>
...@@ -59,6 +59,11 @@ Below you can find a list of all bundled themes together with an example renderi ...@@ -59,6 +59,11 @@ Below you can find a list of all bundled themes together with an example renderi
{{% include "/static/themes/html/printing-snippet.html" %}} {{% include "/static/themes/html/printing-snippet.html" %}}
{{< /rawhtml >}} {{< /rawhtml >}}
<h3>Radical</h3>
{{< rawhtml >}}
{{% include "/static/themes/html/radical-snippet.html" %}}
{{< /rawhtml >}}
<h3>Solarized Dark</h3> <h3>Solarized Dark</h3>
{{< rawhtml >}} {{< rawhtml >}}
{{% include "/static/themes/html/solarized-dark-snippet.html" %}} {{% include "/static/themes/html/solarized-dark-snippet.html" %}}
......
<pre style="background-color:#141322;color:#7c9c9e">
<span style="color:#45898c;font-style:italic;">/**</span>
<span style="color:#45898c;font-style:italic;"> * SPDX-FileCopyrightText: 2020 Christoph Cullmann </span><span style="color:#d5358f;font-weight:bold;">&lt;cullmann@kde.org&gt;</span>
<span style="color:#45898c;font-style:italic;"> * SPDX-License-Identifier: MIT</span>
<span style="color:#45898c;font-style:italic;"> */</span>
<span style="color:#45898c;font-style:italic;">// </span><span style="color:#baf7fc;background-color:#242560;">BEGIN</span>
<span style="color:#d5358f;">#include </span><span style="color:#a9fef7;">&lt;string&gt;</span>
<span style="color:#d5358f;">#include </span><span style="color:#a9fef7;">&lt;QString&gt;</span>
<span style="color:#45898c;font-style:italic;">// </span><span style="color:#baf7fc;background-color:#242560;">END</span>
<span style="color:#45898c;font-style:italic;">/**</span>
<span style="color:#45898c;font-style:italic;"> * </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">TODO</span><span style="color:#45898c;font-style:italic;">: improve documentation</span>
<span style="color:#45898c;font-style:italic;"> * </span><span style="color:#fda8bc;font-weight:bold;">@param</span><span style="color:#45898c;font-style:italic;"> </span><span style="color:#a8c0c2;font-weight:bold;">magicArgument</span><span style="color:#45898c;font-style:italic;"> some magic argument</span>
<span style="color:#45898c;font-style:italic;"> * </span><span style="color:#fda8bc;font-weight:bold;">@return</span><span style="color:#45898c;font-style:italic;"> magic return value</span>
<span style="color:#45898c;font-style:italic;"> */</span>
<span style="color:#ff85a1;">int</span> main(<span style="color:#ff85a1;">uint64_t</span> magicArgument)
{
<span style="color:#d5358f;font-weight:bold;">if</span> (magicArgument &gt; <span style="color:#fa61b8;">1</span>) {
<span style="color:#5af5f0;">const</span> <span style="color:#999ee1;">std::string</span> string = <span style="color:#a9fef7;">&quot;source file: </span><span style="color:#c3f920;">\&quot;</span><span style="color:#a9fef7;">&quot;</span> <span style="color:#5effbd;">__FILE__</span> <span style="color:#a9fef7;">&quot;</span><span style="color:#c3f920;">\&quot;</span><span style="color:#a9fef7;">&quot;</span>;
<span style="color:#5af5f0;">const</span> <span style="color:#a8ffdb;font-weight:bold;">QString</span> qString(<span style="color:#a8ffdb;font-weight:bold;">QStringLiteral</span>(<span style="color:#a9fef7;">&quot;test&quot;</span>));
<span style="color:#d5358f;font-weight:bold;">return</span> <span style="color:#a9fef7;">qrand</span>();
}
<span style="color:#45898c;font-style:italic;">/* </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">BUG</span><span style="color:#45898c;font-style:italic;">: bogus integer constant inside next line */</span>
<span style="color:#5af5f0;">const</span> <span style="color:#ff85a1;">double</span> g = <span style="color:#f834bb;">1.1e12</span> * <span style="color:#f834bb;">0b01'01'01'01</span> - <span style="color:#fa61b8;">43</span><span style="color:#ff427b;font-weight:bold;font-style:italic;text-decoration:underline;">a</span> + <span style="color:#f834bb;">0x11234</span> * <span style="color:#f834bb;">0234</span><span style="color:#999ee1;">ULL</span> - <span style="color:#dff959;">'c'</span> * <span style="color:#fa61b8;">42</span>;
<span style="color:#d5358f;font-weight:bold;">return</span> g &gt; <span style="color:#f834bb;">1.3</span><span style="color:#999ee1;">f</span>;
}
</pre>
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>showcase.cpp</title>
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (C++) - Theme (Radical)"/>
</head><body style="background-color:#141322;color:#7c9c9e"><pre>
<span style="color:#45898c;font-style:italic;">/**</span>
<span style="color:#45898c;font-style:italic;"> * SPDX-FileCopyrightText: 2020 Christoph Cullmann </span><span style="color:#d5358f;font-weight:bold;">&lt;cullmann@kde.org&gt;</span>
<span style="color:#45898c;font-style:italic;"> * SPDX-License-Identifier: MIT</span>
<span style="color:#45898c;font-style:italic;"> */</span>
<span style="color:#45898c;font-style:italic;">// </span><span style="color:#baf7fc;background-color:#242560;">BEGIN</span>
<span style="color:#d5358f;">#include </span><span style="color:#a9fef7;">&lt;string&gt;</span>
<span style="color:#d5358f;">#include </span><span style="color:#a9fef7;">&lt;QString&gt;</span>
<span style="color:#45898c;font-style:italic;">// </span><span style="color:#baf7fc;background-color:#242560;">END</span>
<span style="color:#45898c;font-style:italic;">/**</span>
<span style="color:#45898c;font-style:italic;"> * </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">TODO</span><span style="color:#45898c;font-style:italic;">: improve documentation</span>
<span style="color:#45898c;font-style:italic;"> * </span><span style="color:#fda8bc;font-weight:bold;">@param</span><span style="color:#45898c;font-style:italic;"> </span><span style="color:#a8c0c2;font-weight:bold;">magicArgument</span><span style="color:#45898c;font-style:italic;"> some magic argument</span>
<span style="color:#45898c;font-style:italic;"> * </span><span style="color:#fda8bc;font-weight:bold;">@return</span><span style="color:#45898c;font-style:italic;"> magic return value</span>
<span style="color:#45898c;font-style:italic;"> */</span>
<span style="color:#ff85a1;">int</span> main(<span style="color:#ff85a1;">uint64_t</span> magicArgument)
{
<span style="color:#d5358f;font-weight:bold;">if</span> (magicArgument &gt; <span style="color:#fa61b8;">1</span>) {
<span style="color:#5af5f0;">const</span> <span style="color:#999ee1;">std::string</span> string = <span style="color:#a9fef7;">&quot;source file: </span><span style="color:#c3f920;">\&quot;</span><span style="color:#a9fef7;">&quot;</span> <span style="color:#5effbd;">__FILE__</span> <span style="color:#a9fef7;">&quot;</span><span style="color:#c3f920;">\&quot;</span><span style="color:#a9fef7;">&quot;</span>;
<span style="color:#5af5f0;">const</span> <span style="color:#a8ffdb;font-weight:bold;">QString</span> qString(<span style="color:#a8ffdb;font-weight:bold;">QStringLiteral</span>(<span style="color:#a9fef7;">&quot;test&quot;</span>));
<span style="color:#d5358f;font-weight:bold;">return</span> <span style="color:#a9fef7;">qrand</span>();
}
<span style="color:#45898c;font-style:italic;">/* </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">BUG</span><span style="color:#45898c;font-style:italic;">: bogus integer constant inside next line */</span>
<span style="color:#5af5f0;">const</span> <span style="color:#ff85a1;">double</span> g = <span style="color:#f834bb;">1.1e12</span> * <span style="color:#f834bb;">0b01'01'01'01</span> - <span style="color:#fa61b8;">43</span><span style="color:#ff427b;font-weight:bold;font-style:italic;text-decoration:underline;">a</span> + <span style="color:#f834bb;">0x11234</span> * <span style="color:#f834bb;">0234</span><span style="color:#999ee1;">ULL</span> - <span style="color:#dff959;">'c'</span> * <span style="color:#fa61b8;">42</span>;
<span style="color:#d5358f;font-weight:bold;">return</span> g &gt; <span style="color:#f834bb;">1.3</span><span style="color:#999ee1;">f</span>;
}
</pre></body></html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment