Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 905 Bytes

index.mdx

File metadata and controls

37 lines (31 loc) · 905 Bytes

import assert from 'node:assert/strict' import {NavigationGroup} from '../_component/nav.jsx'

export const info = { author: [{name: 'MDX Contributors'}], modified: new Date('2021-11-01'), published: new Date('2021-11-01') } export const navSortSelf = 1

Docs

These docs explain the core concepts of MDX. How the format works, how to add it to your site, how to use MDX files, and how to extend them. Reading through these should give you a good understanding of MDX.

{ (function () { /** * @typedef {import('../_component/sort.js').Item} Item */

/** @type {Item} */
const navigationTree = props.navigationTree
const category = navigationTree.children.find(function (item) {
  return item.name === '/docs/'
})
assert(category)

return (
  <nav>
    <NavigationGroup items={category.children} includeDescription />
  </nav>
)

})() }