{
    "componentChunkName": "component---packages-gatsby-theme-docs-src-templates-page-content-js",
    "path": "/views/custom-anchor",
    "result": {"data":{"contentPage":{"title":"Custom Anchor","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\": \"Custom Anchor\",\n  \"showTimeToRead\": false\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 Anchor = makeShortcode(\"Anchor\");\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-expected-usage\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"expected-usage\"\n  }, \"Expected Usage\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"#any-html-id-compatible-string-expected-usage\"\n  }, \"Anchor expected usage links to the next line\")), mdx(Anchor, {\n    name: \"any-html-id-compatible-string-expected-usage\",\n    mdxType: \"Anchor\"\n  })), mdx(\"section\", {\n    \"id\": \"section-in-markdown-document\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"in-markdown-document\"\n  }, \"In markdown document\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\"\n  }, \"<Anchor name=\\\"any-html-id-compatible-string-expected-usage\\\" />\\n\"))), mdx(\"section\", {\n    \"id\": \"section-generated-dom\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"generated-dom\"\n  }, \"Generated DOM\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-html\"\n  }, \"<a name=\\\"any-html-id-compatible-string-expected-usage\\\"></a>\\n\"))), mdx(\"section\", {\n    \"id\": \"section-with-children\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"with-children\"\n  }, \"With Children\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"#any-html-id-compatible-string-with-children\"\n  }, \"Anchor with children links to the next line\")), mdx(Anchor, {\n    name: \"any-html-id-compatible-string-with-children\",\n    mdxType: \"Anchor\"\n  }, \"No text allowed here\")), mdx(\"section\", {\n    \"id\": \"section-in-markdown-document-1\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"in-markdown-document-1\"\n  }, \"In markdown document\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\"\n  }, \"<Anchor name=\\\"any-html-id-compatible-string-with-children\\\" >\\n  I must not put text here\\n</Anchor>\\n\"))), mdx(\"section\", {\n    \"id\": \"section-generated-dom-1\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"generated-dom-1\"\n  }, \"Generated DOM\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-html\"\n  }, \"<a name=\\\"any-html-id-compatible-string-with-children\\\"></a>\\n\"))), mdx(\"section\", {\n    \"id\": \"section-in-a-title\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"in-a-title\"\n  }, \"In a title\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"#any-html-id-compatible-string-in-a-title\"\n  }, \"Anchor in a title links to the next title\"))), mdx(\"section\", {\n    \"id\": \"section-anchor-in-title-links-here-\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"anchor-in-title-links-here-\"\n  }, \"Anchor in title links here \", mdx(Anchor, {\n    name: \"any-html-id-compatible-string-in-a-title\",\n    mdxType: \"Anchor\"\n  }))), mdx(\"section\", {\n    \"id\": \"section-usage\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"usage\"\n  }, \"Usage\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\"\n  }, \"### Anchor in title links here <Anchor name=\\\"any-html-id-compatible-string-in-a-title\\\" />\\n\"))), mdx(\"section\", {\n    \"id\": \"section-generated-dom-2\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"generated-dom-2\"\n  }, \"Generated DOM\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-html\"\n  }, \"<h4>\\n  Anchor in title links here\\n  <a name=\\\"any-html-id-compatible-string-in-a-title\\\"></a>\\n</h4>\\n\"))), mdx(\"section\", {\n    \"id\": \"section-in-a-list\",\n    \"className\": \"section-h3\"\n  }, mdx(\"h2\", {\n    parentName: \"section\",\n    \"id\": \"in-a-list\"\n  }, \"In a list\"), mdx(\"p\", {\n    parentName: \"section\"\n  }, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"#any-html-id-compatible-string-in-a-list\"\n  }, \"Anchor in a list links to firs item on the list\")), mdx(\"ul\", {\n    parentName: \"section\"\n  }, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"List 1 \", mdx(Anchor, {\n    name: \"any-html-id-compatible-string-in-a-list\",\n    mdxType: \"Anchor\"\n  })), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"List 2\"))), mdx(\"section\", {\n    \"id\": \"section-usage-1\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"usage-1\"\n  }, \"Usage\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-md\"\n  }, \"* List 1 <Anchor name=\\\"any-html-id-compatible-string-in-a-list\\\" />\\n\"))), mdx(\"section\", {\n    \"id\": \"section-generated-dom-3\",\n    \"className\": \"section-h4\"\n  }, mdx(\"h3\", {\n    parentName: \"section\",\n    \"id\": \"generated-dom-3\"\n  }, \"Generated DOM\"), mdx(\"pre\", {\n    parentName: \"section\"\n  }, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-html\"\n  }, \"<li>\\n  List 1\\n  <a name=\\\"any-html-id-compatible-string-in-a-list\\\"></a>\\n</li>\\n\"))));\n}\n;\nMDXContent.isMDXComponent = true;","tableOfContents":{"items":[{"title":"Expected Usage","url":"#expected-usage","items":[{"title":"In markdown document","url":"#in-markdown-document"},{"title":"Generated DOM","url":"#generated-dom"}]},{"title":"With Children","url":"#with-children","items":[{"title":"In markdown document","url":"#in-markdown-document-1"},{"title":"Generated DOM","url":"#generated-dom-1"}]},{"title":"In a title","url":"#in-a-title","items":[{"title":"Anchor in title links here","url":"#anchor-in-title-links-here-"},{"title":"Usage","url":"#usage"},{"title":"Generated DOM","url":"#generated-dom-2"}]},{"title":"In a list","url":"#in-a-list","items":[{"title":"Usage","url":"#usage-1"},{"title":"Generated DOM","url":"#generated-dom-3"}]}]},"navLevels":3,"showTimeToRead":false,"timeToRead":0,"estimatedTimeToRead":1}},"pageContext":{"slug":"/views/custom-anchor","shortTitle":"Custom Anchor","hasReleaseNotes":true}},
    "staticQueryHashes": ["2494036674","3227520225","3295477089","3359654165","3845541775","636942989","801034918"]}