{"componentChunkName":"component---src-templates-page-tsx","path":"/writing/writing-in-markdown/","result":{"data":{"site":{"siteMetadata":{"title":"Grundgesetz","description":"Zero-configuration documentation builder, powered by Gatsby.","siteUrl":"https://grundgesetz-skeleton.netlify.com","keywords":"gatsbyjs, gatsby, documentation, sample project","author":{"name":"Resi Respati","url":"https://resir014.xyz","email":"resi@kata.ai"}}},"sectionList":{"edges":[{"node":{"title":"Getting Started","items":[{"id":"installation","slug":"/getting-started/installation","title":"Installation"},{"id":"development-server","slug":"/getting-started/development-server","title":"Development Server"},{"id":"deploying","slug":"/getting-started/deploying","title":"Deploying"}]}},{"node":{"title":"Writing","items":[{"id":"project-structure","slug":"/writing/project-structure","title":"Project Structure"},{"id":"table-of-contents","slug":"/writing/table-of-contents","title":"Table of Contents"},{"id":"writing-in-markdown","slug":"/writing/writing-in-markdown","title":"Writing in Markdown"}]}},{"node":{"title":"Theming","items":[{"id":"theming-overview","slug":"/theming/overview","title":"Overview"},{"id":"theming-variables","slug":"/theming/variables","title":"Variables"},{"id":"theming-helper-components","slug":"/theming/helper-components","title":"Helper Components"}]}}]},"markdownRemark":{"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Writing documentation in Gatsby is done in Markdown. Grundgesetz uses Remark to parse Markdown files and turn them into HTML."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"frontmatters","style":"position:relative;"},"children":[{"type":"element","tagName":"a","properties":{"href":"#frontmatters","ariaLabel":"frontmatters permalink","className":["anchor","before"]},"children":[{"type":"element","tagName":"svg","properties":{"ariaHidden":"true","focusable":"false","height":"16","version":"1.1","viewBox":"0 0 16 16","width":"16"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","d":"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"},"children":[]}]}]},{"type":"text","value":"Frontmatters"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"We provide the following Markdown frontmatters in each documentation page."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"id"}]},{"type":"text","value":" - A unique identifier representing the markdown page. This will be referenced in "},{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"toc.json"}]},{"type":"text","value":" when getting the links for the navigation sidebar, as well as the "},{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"prev"}]},{"type":"text","value":" and "},{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"next"}]},{"type":"text","value":" items of the pagination. "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Note that the ID must be unique between pages, as this will also be used to look up the table of contents."}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"permalink"}]},{"type":"text","value":" - Optional. By default Grundgesetz will generate page paths relative to the path of the Markdown file. If you want to override the output path for a page, add this frontmatter with the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"absolute"}]},{"type":"text","value":" path of the output."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"title"}]},{"type":"text","value":" - The title of the page."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"subtitle"}]},{"type":"text","value":" - Optional. The subtitle of the page (if any)"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"prev"}]},{"type":"text","value":" - Optional. This contains the "},{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"id"}]},{"type":"text","value":" of the page that appears on the “Previous Page” navigation item."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"next"}]},{"type":"text","value":" - Optional. This contains the "},{"type":"element","tagName":"code","properties":{"className":["language-text"]},"children":[{"type":"text","value":"id"}]},{"type":"text","value":" of the page that appears on the “Next Page” navigation item."}]},{"type":"text","value":"\n"}]}],"data":{"quirksMode":false}},"tableOfContents":"<ul>\n<li><a href=\"/writing/writing-in-markdown/#frontmatters\">Frontmatters</a></li>\n</ul>","excerpt":"Writing documentation in Gatsby is done in Markdown. Grundgesetz uses Remark to parse Markdown files and turn them into HTML. Frontmatters…","frontmatter":{"id":"writing-in-markdown","title":"Writing in Markdown","prev":"table-of-contents","next":"theming-overview"}}},"pageContext":{"slug":"/writing/writing-in-markdown/"}}}