Debian Codegraph @

autotests/html/highlight.graphql.dark.html

raw
1 <!DOCTYPE html>
2 <html><head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4 <title>highlight.graphql</title>
5 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (GraphQL) - Theme (Breeze Dark)"/>
6 </head><body style="background-color:#232629;color:#cfcfc2"><pre>
7 <span style="color:#7a7c7d;"># Examples taken from https://graphql.org/learn/schema/#type-language</span>
8 <span style="color:#7a7c7d;">#</span>
9 <span style="color:#7a7c7d;"># Alerts: </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">TODO</span><span style="color:#7a7c7d;"> </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">FIXME</span>
10
11 <span style="font-weight:bold;">query</span> Hero(<span style="color:#27aeae;">$episode</span>: Episode, <span style="color:#27aeae;">$withFriends</span>: <span style="color:#2980b9;">Boolean</span>!) {
12 hero(episode: <span style="color:#27aeae;">$episode</span>) {
13 name
14 friends <span style="color:#2980b9;">@include</span>(if: <span style="color:#27aeae;">$withFriends</span>) {
15 }
16 }
17 }
18
19 <span style="font-weight:bold;">query</span> {
20 droid(id: <span style="color:#f44f4f;">&quot;2000&quot;</span>, num: <span style="color:#f67400;">42</span>, active: <span style="color:#27aeae;font-weight:bold;">true</span>) {
21 name
22 }
23 }
24
25 <span style="font-weight:bold;">type</span> Person <span style="color:#2980b9;">@addExternalFields</span>(source: <span style="color:#f44f4f;">&quot;profiles&quot;</span>) <span style="color:#2980b9;">@excludeField</span>(name: <span style="color:#f44f4f;">&quot;photo&quot;</span>) {
26 name: <span style="color:#2980b9;">String</span>
27 }
28
29 <span style="color:#7a7c7d;"># block strings (from https://github.com/graphql/graphql-spec/blob/master/spec/Section%202%20--%20Language.md)</span>
30
31 <span style="color:#f44f4f;">&quot;&quot;&quot;</span>
32 <span style="color:#f44f4f;">This starts with and ends with an empty line,</span>
33 <span style="color:#f44f4f;">which makes it easier to read.</span>
34 <span style="color:#f44f4f;">&quot;&quot;&quot;</span>
35
36 <span style="color:#f44f4f;">&quot;&quot;&quot;This does not start with or end with any empty lines,</span>
37 <span style="color:#f44f4f;">which makes it a little harder to read.&quot;&quot;&quot;</span>
38 </pre></body></html>