{
    "componentChunkName": "component---packages-gatsby-theme-docs-src-templates-page-content-js",
    "path": "/components/code-blocks",
    "result": {"data":{"contentPage":{"title":"Code Blocks","globalNotification":null,"websitePrimaryColor":"#808080","beta":false,"isGlobalBeta":false,"excludeFromSearchIndex":false,"allowWideContentLayout":false,"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 Blocks\"\n};\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    \"className\": \"section-lead\"\n  }, mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\"\n  }, \"Look, _this_ is a **code block** without a title!\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Primary theme (default)\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\",\n    \"metastring\": \"title=\\\"The title of the code block\\\"\",\n    \"title\": true,\n    \"of\": true,\n    \"the\": true,\n    \"code\": true,\n    \"block\\\"\": true\n  }, \"Lorem ipsum dolor sit amet, his saepe graeci ne, quod expetenda nec te, at enim decore salutatus vim. Et mazim accumsan abhorreant vix, habeo homero eligendi sed in, qui no rebum etiam. Id case semper repudiare vis, duo ei fabulas theophrastus, natum assum tamquam no usu. Sint aliquip indoctum id ius. Cu vis solum tempor recusabo. Porro quodsi appellantur id quo. Mazim dicunt moderatius ea vis, nonumy accumsan vel ex.\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Secondary theme\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\",\n    \"metastring\": \"title=\\\"The title of the code block\\\" secondaryTheme\",\n    \"title\": true,\n    \"of\": true,\n    \"the\": true,\n    \"code\": true,\n    \"block\\\"\": true,\n    \"secondaryTheme\": true\n  }, \"Lorem ipsum dolor sit amet, his saepe graeci ne, quod expetenda nec te, at enim decore salutatus vim. Et mazim accumsan abhorreant vix, habeo homero eligendi sed in, qui no rebum etiam. Id case semper repudiare vis, duo ei fabulas theophrastus, natum assum tamquam no usu. Sint aliquip indoctum id ius. Cu vis solum tempor recusabo. Porro quodsi appellantur id quo. Mazim dicunt moderatius ea vis, nonumy accumsan vel ex.\\n\")), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"With highlighted lines\")), 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(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"With highlighted lines (secondary theme)\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-json\",\n    \"metastring\": \"highlightLines=\\\"10\\\" secondaryTheme\",\n    \"highlightLines\": \"\\\"10\\\"\",\n    \"secondaryTheme\": true\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(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\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(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"With prompt (secondary theme)\")), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-console\",\n    \"metastring\": \"noPromptLines=\\\"2\\\" secondaryTheme\",\n    \"noPromptLines\": \"\\\"2\\\"\",\n    \"secondaryTheme\": true\n  }, \"curl -H \\\"Content-Type: application/json\\\" \\\\\\n  \\\"https://api.europe-west1.gcp.commercetools.com\\\"\\n\"))));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{},"navLevels":3,"showTimeToRead":false,"timeToRead":0,"estimatedTimeToRead":1}},"pageContext":{"slug":"/components/code-blocks","shortTitle":"Code blocks","hasReleaseNotes":true}},
    "staticQueryHashes": ["2494036674","3227520225","3295477089","3359654165","3845541775","636942989","801034918"]}