Agent directive: read the LLMS index for this site. Markdown versions of pages are available by appending .md to the page URL or by sending Accept: text/markdown.

Components

Use our ui and mdx components, or build your own

publish.dev ships with a full set of ui and mdx components.

Custom Components

At any point, you can build your own components or override the existing ones by authoring components in the publish.os/components/ui or publish.os/components/mdx directories.

├── publish.os/
    └── components/
        ├── mdx/
        │   ├── callout.tsx         # will override the default callout component
        │   └── my-custom-mdx.tsx   # create a custom mdx component
        └── ui/
            ├── button.tsx          # will override the default button component
            └── my-component.tsx    # create a custom ui component