Branch
Hash :
9e64c62e
Author :
Date :
2020-05-29T12:28:05
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
<h2>Comments</h2>
<pre><code># This is a comment</code></pre>
<h2>Strings</h2>
<pre><code>""
"foo \"bar\" baz"
""" "Multi-line" strings
are supported."""
</code></pre>
<h2>Numbers</h2>
<pre><code>0
42
3.14159
-9e-5
0.9E+7</code></pre>
<h2>Keywords</h2>
<pre><code>query withFragments {
user(id: 4) {
friends(first: 10) {
...friendFields
}
mutualFriends(first: 10) {
...friendFields
}
}
}
fragment friendFields on User {
id
name
profilePic(size: 50)
}</code></pre>
<p>Markdown inside of descriptions require markdown to be loaded.
On this page, checking Markdown <strong>before</strong> checking GraphQL should
make the example below work properly.</p>
<h2>Descriptions</h2>
<pre><code>"""
This is a multiline description
# Heading
[Prism](http://www.prismjs.com)
It can contain **Markdown
on multiple lines**
"""
type Example {
id: ID!
}
type Sample {
"""
Simple multiline description
"""
name(
"This is a single line description"
first: Int
): String
}
</code></pre>