{
    "componentChunkName": "component---packages-gatsby-theme-docs-src-templates-page-content-js",
    "path": "/writing/code",
    "result": {"data":{"contentPage":{"title":"Code","globalNotification":null,"websitePrimaryColor":"#808080","beta":false,"isGlobalBeta":false,"excludeFromSearchIndex":true,"allowWideContentLayout":true,"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Code\",\n  \"wideLayout\": true\n};\n\nvar makeShortcode = function makeShortcode(name) {\n  return function MDXDefaultShortcode(props) {\n    console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\");\n    return mdx(\"div\", props);\n  };\n};\n\nvar SideBySide = makeShortcode(\"SideBySide\");\nvar CodeExample = makeShortcode(\"CodeExample\");\nvar MultiCodeExample = makeShortcode(\"MultiCodeExample\");\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"section\", {\n    \"id\": \"section-code-blocks\",\n    \"className\": \"section-h2\"\n  }, mdx(\"h1\", {\n    parentName: \"section\",\n    \"id\": \"code-blocks\"\n  }, \"Code blocks\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"You can use standard Markdown syntax for code blocks. It is also possible to render code blocks in two different themes and add titles to them.\"), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"To add titles for the code blocks, pass \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"title\"), \" in the syntax.\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"The primary theme is the default. To render the code block in the secondary theme, pass \", mdx(\"inlineCode\", {\n    parentName: \"li\"\n  }, \"secondaryTheme\"), \" in the syntax.\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Primary theme (default)\")), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"```md title=\\\"Code block in primary theme\\\"\\nSample code goes here.\\n```\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\",\n    \"metastring\": \"title=\\\"Code block in primary theme\\\"\",\n    \"title\": \"\\\"Code\",\n    \"block\": true,\n    \"in\": true,\n    \"primary\": true,\n    \"theme\\\"\": true\n  }, \"Sample code goes here.\\n\"))), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Secondary theme\")), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\",\n    \"metastring\": \"secondaryTheme\",\n    \"secondaryTheme\": true\n  }, \"```md title=\\\"Code block in secondary theme\\\" secondaryTheme\\nSample code goes here.\\n```\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\",\n    \"metastring\": \"title=\\\"Code block in secondary theme\\\" secondaryTheme\",\n    \"title\": \"\\\"Code\",\n    \"block\": true,\n    \"in\": true,\n    \"secondary\": true,\n    \"theme\\\"\": true,\n    \"secondaryTheme\": true\n  }, \"Sample code goes here.\\n\")))), mdx(\"section\", {\n    \"id\": \"section-with-highlighted-lines\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"with-highlighted-lines\"\n  }, \"With highlighted lines\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"It is also possible to highlight specific lines in a code. To highlight, pass \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"highlightLines\"), \" in the syntax and enter the range or specific line to be highlighted.\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"```json highlightLines=\\\"10\\\"\\n{\\n  \\\"glossary\\\": {\\n    \\\"title\\\": \\\"example glossary\\\",\\n    \\\"GlossDiv\\\": {\\n      \\\"title\\\": \\\"S\\\",\\n      \\\"GlossList\\\": {\\n        \\\"GlossEntry\\\": {\\n          \\\"ID\\\": 123.45,\\n          \\\"Sort\\\": true,\\n          \\\"GlossTerm\\\": \\\"Standard Generalized Markup Language\\\",\\n          \\\"Acronym\\\": \\\"SGML\\\",\\n          \\\"Abbrev\\\": \\\"ISO 8879:1986\\\",\\n          \\\"GlossDef\\\": {\\n            \\\"para\\\": \\\"A meta-markup language, used to create markup languages such as DocBook.\\\",\\n            \\\"GlossSeeAlso\\\": [\\\"GML\\\", \\\"XML\\\"]\\n          },\\n          \\\"GlossSee\\\": null\\n        }\\n      }\\n    }\\n  }\\n}\\n```\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-json\",\n    \"metastring\": \"highlightLines=\\\"10\\\"\",\n    \"highlightLines\": \"\\\"10\\\"\"\n  }, \"{\\n  \\\"glossary\\\": {\\n    \\\"title\\\": \\\"example glossary\\\",\\n    \\\"GlossDiv\\\": {\\n      \\\"title\\\": \\\"S\\\",\\n      \\\"GlossList\\\": {\\n        \\\"GlossEntry\\\": {\\n          \\\"ID\\\": 123.45,\\n          \\\"Sort\\\": true,\\n          \\\"GlossTerm\\\": \\\"Standard Generalized Markup Language\\\",\\n          \\\"Acronym\\\": \\\"SGML\\\",\\n          \\\"Abbrev\\\": \\\"ISO 8879:1986\\\",\\n          \\\"GlossDef\\\": {\\n            \\\"para\\\": \\\"A meta-markup language, used to create markup languages such as DocBook.\\\",\\n            \\\"GlossSeeAlso\\\": [\\\"GML\\\", \\\"XML\\\"]\\n          },\\n          \\\"GlossSee\\\": null\\n        }\\n      }\\n    }\\n  }\\n}\\n\")))), mdx(\"section\", {\n    \"id\": \"section-with-prompt\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"with-prompt\"\n  }, \"With prompt\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-console\",\n    \"metastring\": \"noPromptLines=\\\"2\\\"\",\n    \"noPromptLines\": \"\\\"2\\\"\"\n  }, \"curl -H \\\"Content-Type: application/json\\\" \\\\\\n  \\\"https://api.europe-west1.gcp.commercetools.com\\\"\\n\"))), mdx(\"section\", {\n    \"id\": \"section-terminalconsole\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"terminalconsole\"\n  }, \"Terminal/Console\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Passing the option \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"noPromptLines=\\\"3-4\\\"\"), \".\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-console\",\n    \"metastring\": \"noPromptLines=\\\"3-4\\\"\",\n    \"noPromptLines\": \"\\\"3-4\\\"\"\n  }, \"cd project\\ncp -R \\\\\\n  dist \\\\\\n  public/\\nrm -rf dist\\nyarn start\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"No options, but you can check that the indentation in regards to the left prompt is aligned when the line wraps.\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-console\"\n  }, \"# fetch a token:\\ncurl https://auth.sphere.io/oauth/token --basic --user \\\"{client_id}:{client_secret}\\\" -X POST -d \\\"grant_type=client_credentials&scope=manage_project:{project_key}\\\"\\n# now access the API:\\ncurl -sH \\\"Authorization: Bearer ACCESS_TOKEN\\\" https://api.sphere.io/PROJECT_KEY/products\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, \"Passing the option \", mdx(\"inlineCode\", {\n    parentName: \"p\"\n  }, \"title=\\\"Fetching an access token\\\"\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-console\",\n    \"metastring\": \"title=\\\"Fetching an access token\\\"\",\n    \"title\": \"\\\"Fetching\",\n    \"an\": true,\n    \"access\": true,\n    \"token\\\"\": true\n  }, \"# fetch a token:\\ncurl https://auth.sphere.io/oauth/token --basic --user \\\"{client_id}:{client_secret}\\\" -X POST -d \\\"grant_type=client_credentials&scope=manage_project:{project_key}\\\"\\n# now access the API:\\ncurl -sH \\\"Authorization: Bearer ACCESS_TOKEN\\\" https://api.sphere.io/PROJECT_KEY/products\\n\"))), mdx(\"section\", {\n    \"id\": \"section-code-examples\",\n    \"className\": \"section-h2\"\n  }, mdx(\"h1\", {\n    parentName: \"section\",\n    \"id\": \"code-examples\"\n  }, \"Code examples\")), mdx(\"section\", {\n    \"id\": \"section-no-language\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"no-language\"\n  }, \"No language\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"```\\nThe syntax is not highlighted as no language is indicated.\\n**Formatting syntax** like _this_ or <b>tag</b> will remain unparsed.\\n```\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"The syntax is not highlighted as no language is indicated.\\n**Formatting syntax** like _this_ or <b>tag</b> will remain unparsed.\\n\")))), mdx(\"section\", {\n    \"id\": \"section-single-language\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"single-language\"\n  }, \"Single language\")), mdx(\"section\", {\n    \"id\": \"section-curl\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"curl\"\n  }, \"cURL\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.curl\\\" title=\\\"Curl code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.curl\",\n    title: \"Curl code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-csharp\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"csharp\"\n  }, \"CSharp\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.cs\\\" title=\\\"CSharp code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.cs\",\n    title: \"CSharp code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-graphql\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"graphql\"\n  }, \"GraphQL\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.graphql\\\" title=\\\"GraphQL code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.graphql\",\n    title: \"GraphQL code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-java\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"java\"\n  }, \"Java\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.java\\\" title=\\\"Java code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.java\",\n    title: \"Java code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-javascript\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"javascript\"\n  }, \"JavaScript\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-js\"\n  }, \"<CodeExample path=\\\"example.js\\\" title=\\\"JavaScript code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.js\",\n    title: \"JavaScript code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-json\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"json\"\n  }, \"JSON\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.json\\\" title=\\\"JSON code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.json\",\n    title: \"JSON code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-php\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"php\"\n  }, \"PHP\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.php\\\" title=\\\"PHP code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.php\",\n    title: \"PHP code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-python\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"python\"\n  }, \"Python\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"```python title=\\\"Python code sample\\\"\\ns = \\\"Python syntax highlighting\\\"\\nprint s\\n```\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-python\",\n    \"metastring\": \"title=\\\"Python code sample\\\"\",\n    \"title\": \"\\\"Python\",\n    \"code\": true,\n    \"sample\\\"\": true\n  }, \"s = \\\"Python syntax highlighting\\\"\\nprint s\\n\")))), mdx(\"section\", {\n    \"id\": \"section-scala\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"scala\"\n  }, \"Scala\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.scala\\\" title=\\\"Scala code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.scala\",\n    title: \"Scala code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-shell\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"shell\"\n  }, \"Shell\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.sh\\\" title=\\\"Shell code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.sh\",\n    title: \"Shell code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-swift\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"swift\"\n  }, \"Swift\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"```swift title=\\\"Swift code sample\\\"\\nstruct Player {\\n    var name: String\\n    var highScore: Int = 0\\n    var history: [Int] = []\\n\\n    init(_ name: String) {\\n        self.name = name\\n    }\\n}\\n\\nvar player = Player(\\\"Tomas\\\")\\n```\\n\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-swift\",\n    \"metastring\": \"title=\\\"Swift code sample\\\"\",\n    \"title\": \"\\\"Swift\",\n    \"code\": true,\n    \"sample\\\"\": true\n  }, \"struct Player {\\n    var name: String\\n    var highScore: Int = 0\\n    var history: [Int] = []\\n\\n    init(_ name: String) {\\n        self.name = name\\n    }\\n}\\n\\nvar player = Player(\\\"Tomas\\\")\\n\")))), mdx(\"section\", {\n    \"id\": \"section-typescript\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"typescript\"\n  }, \"TypeScript\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.ts\\\" title=\\\"TypeScript code sample\\\" />\\n\")), mdx(CodeExample, {\n    path: \"example.ts\",\n    title: \"TypeScript code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-yaml\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"yaml\"\n  }, \"YAML\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<CodeExample path=\\\"example.yml\\\" title=\\\"YAML code sample\\\"/>\\n\")), mdx(CodeExample, {\n    path: \"example.yml\",\n    title: \"YAML code sample\",\n    mdxType: \"CodeExample\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-multiple-languages\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"multiple-languages\"\n  }, \"Multiple languages\"), mdx(SideBySide, {\n    mdxType: \"SideBySide\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"<MultiCodeExample title=\\\"Multilanguage code samples\\\">\\n  <CodeExample path=\\\"example.js\\\" highlightLines={[3]} />\\n  <CodeExample path=\\\"example.java\\\"/>\\n  <CodeExample path=\\\"example.console\\\" noPromptLines={[3, 4]} />\\n</MultiCodeExample>\\n\")), mdx(MultiCodeExample, {\n    title: \"Multilanguage code samples\",\n    mdxType: \"MultiCodeExample\"\n  }, mdx(CodeExample, {\n    path: \"example.js\",\n    highlightLines: [3],\n    mdxType: \"CodeExample\"\n  }), mdx(CodeExample, {\n    path: \"example.java\",\n    mdxType: \"CodeExample\"\n  }), mdx(CodeExample, {\n    path: \"example.console\",\n    noPromptLines: [3, 4],\n    mdxType: \"CodeExample\"\n  })))));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"title":"Code blocks","url":"#code-blocks","items":[{"title":"With highlighted lines","url":"#with-highlighted-lines"},{"title":"With prompt","url":"#with-prompt"},{"title":"Terminal/Console","url":"#terminalconsole"}]},{"title":"Code examples","url":"#code-examples","items":[{"title":"No language","url":"#no-language"},{"title":"Single language","url":"#single-language","items":[{"title":"cURL","url":"#curl"},{"title":"CSharp","url":"#csharp"},{"title":"GraphQL","url":"#graphql"},{"title":"Java","url":"#java"},{"title":"JavaScript","url":"#javascript"},{"title":"JSON","url":"#json"},{"title":"PHP","url":"#php"},{"title":"Python","url":"#python"},{"title":"Scala","url":"#scala"},{"title":"Shell","url":"#shell"},{"title":"Swift","url":"#swift"},{"title":"TypeScript","url":"#typescript"},{"title":"YAML","url":"#yaml"}]},{"title":"Multiple languages","url":"#multiple-languages"}]}]},"navLevels":3,"showTimeToRead":false,"timeToRead":0,"estimatedTimeToRead":1}},"pageContext":{"slug":"/writing/code","shortTitle":"Code","hasReleaseNotes":false}},
    "staticQueryHashes": ["2494036674","3227520225","3295477089","3359654165","3845541775","636942989"]}